Fondation: error C2440 on VS 2010...

General discussion regarding the development of POCO for contributors.
Posts: 2
Joined: 26 Apr 2010, 14:23

Fondation: error C2440 on VS 2010...

Postby CarloMaker » 26 Apr 2010, 14:41

Hi.. i m a simple user ... i found poco really good an i would thanks all contributors...
lately i m using Visual Studio 2010 express / XP and there is a small compiler error :
error C2440 on ThreadLocalStorage::get(const void* key) in

Code: Select all

return  _map.insert(TLSMap::value_type(key, 0)).first->second;

simple substitution solved problem

Code: Select all

return  _map.insert(TLSMap::value_type(key,nullptr)).first->second;

all the best...

Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 1 guest