Daniele Bartolini 9 лет назад
Родитель
Сommit
06d49b3273
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/resource/unit_compiler.h

+ 1 - 1
src/resource/unit_compiler.h

@@ -38,7 +38,7 @@ class UnitCompiler
 		StringId32 _type;
 		float _spawn_order;
 
-		bool operator<(const ComponentTypeInfo& a)
+		bool operator<(const ComponentTypeInfo& a) const
 		{
 			return _spawn_order < a._spawn_order;
 		}