Browse Source

Workaround msvc crash

Andrii Danylchenko 4 years ago
parent
commit
093076c6d0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scripting/erm/ERMInterpreter.cpp

+ 2 - 1
scripting/erm/ERMInterpreter.cpp

@@ -988,7 +988,8 @@ namespace ERMConverter
 						fmt % name;
 						fmt % name;
 						fmt % params;
 						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
 					else
 					{
 					{