mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
4576719abe
* 0 is not convertible to std::function, nullptr should be used * std::ref(rand) is not convertible to function<int()>, used lambdas (why we dont just pass "rand" ? ) * CFunctionList needs to be constructible from nullptr * move constructor for CMapInfo (Visual cannot generate them :( ) * #ifdefed some stuff that is not needed anymore since cmath is updated with C99 stuff * using std::make_unique instead of our vstd implementation CSelector: * introduced a class in place of typedef * Having an overloaded && || operators over sth that is convertible to bool… Wasn't a good idea after all. Purged the operators, replaced with And/Or methods (chaining-style). * constructor that is present only when constructing from class or function (SFINAE). std::function has an implicit converting constructor from T causing ambiguities (even if the overload would cause compile error in the body) |
||
---|---|---|
.. | ||
CGameHandler.cpp | ||
CGameHandler.h | ||
CMakeLists.txt | ||
CQuery.cpp | ||
CQuery.h | ||
CVCMIServer.cpp | ||
CVCMIServer.h | ||
NetPacksServer.cpp | ||
StdInc.cpp | ||
StdInc.h | ||
VCMI_server.cbp | ||
VCMI_server.vcxproj |