mirror of
https://github.com/minetest/minetest.git
synced 2024-09-21 07:50:47 +03:00
c56d7fe0eb
Use this macro to disallow copying of an object using the assignment operator or copy constructor. This catches otherwise silent-but-deadly mistakes such as "ServerMap map = env->getMap();" at compile time. If so desired, it is still possible to copy a class, but it now requires an explicit call to memcpy or std::copy. |
||
---|---|---|
.. | ||
atomic.h | ||
CMakeLists.txt | ||
event.h | ||
mutex_auto_lock.h | ||
mutex.cpp | ||
mutex.h | ||
semaphore.cpp | ||
semaphore.h | ||
thread.cpp | ||
thread.h |