Explorar el Código

Workaround msvc crash

Andrii Danylchenko hace 4 años
padre
commit
093076c6d0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      scripting/erm/ERMInterpreter.cpp

+ 2 - 1
scripting/erm/ERMInterpreter.cpp

@@ -988,7 +988,8 @@ namespace ERMConverter
 						fmt % name;
 						fmt % params;
 
-						bo[0].apply_visitor(GenericReceiver(out, fmt.str(), (name=="DO")));
+						GenericReceiver receiver(out, fmt.str(), (name == "DO"));
+						bo[0].apply_visitor(receiver);
 					}
 					else
 					{