Explorar el Código

Compilation fix for VS2015 suggested by Ivan and tested by @dydzio0614

It's compiled without it by Clang / GCC, but not MSVC++
Arseniy Shestakov hace 9 años
padre
commit
e13f98e38e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/serializer/CTypeList.h

+ 1 - 1
lib/serializer/CTypeList.h

@@ -200,7 +200,7 @@ extern DLL_LINKAGE CTypeList typeList;
 /// Wrapper over CTypeList. Allows execution of templated class T for any type
 /// that was resgistered for this applier
 template<typename T>
-class CApplier
+class CApplier : boost::noncopyable
 {
 	std::map<ui16, std::unique_ptr<T>> apps;