Explorar o código

Workaround msvc compiler crash

Andrii Danylchenko %!s(int64=4) %!d(string=hai) anos
pai
achega
d56760eb4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripting/erm/ERMInterpreter.cpp

+ 1 - 1
scripting/erm/ERMInterpreter.cpp

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