NULL
is not a Quest*
-- it may be being defined as ((void *)0) somewhere, which is not implicitly convertible to Quest*
. Use static_cast<Quest*>(0)
instead.
Billy ONeal
2010-08-24 17:46:41
NULL
is not a Quest*
-- it may be being defined as ((void *)0) somewhere, which is not implicitly convertible to Quest*
. Use static_cast<Quest*>(0)
instead.
Does it work with an explicit cast?
if (id)
Cache.insert(make_pair<int, Quest*>(int(*id), NULL));
Also, a cpp file with 9000 lines, really?