Browse Source

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

It's compiled without it by Clang / GCC, but not MSVC++
Arseniy Shestakov 9 years ago
parent
commit
e13f98e38e
1 changed files with 1 additions and 1 deletions
  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;