Explorar o código

Workaround msvc crash

Andrii Danylchenko %!s(int64=4) %!d(string=hai) anos
pai
achega
093076c6d0
Modificáronse 1 ficheiros con 2 adicións e 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
 					{