[Bf-blender-cvs] [0abe5936b7f] master: Fluid: Cleanup namespace std

Sebastián Barschkis noreply at git.blender.org
Sun May 17 17:09:51 CEST 2020


Commit: 0abe5936b7f63d1bb7e0e43f700299732d5c0827
Author: Sebastián Barschkis
Date:   Thu May 14 11:08:42 2020 +0200
Branches: master
https://developer.blender.org/rB0abe5936b7f63d1bb7e0e43f700299732d5c0827

Fluid: Cleanup namespace std

===================================================================

M	intern/mantaflow/intern/MANTA_main.cpp

===================================================================

diff --git a/intern/mantaflow/intern/MANTA_main.cpp b/intern/mantaflow/intern/MANTA_main.cpp
index 11ce32fb828..133e84d71a7 100644
--- a/intern/mantaflow/intern/MANTA_main.cpp
+++ b/intern/mantaflow/intern/MANTA_main.cpp
@@ -574,8 +574,8 @@ bool MANTA::runPythonString(vector<string> commands)
     manta_main_module = PyImport_ImportModule("__main__");
   }
 
-  for (vector<std::string>::iterator it = commands.begin(); it != commands.end(); ++it) {
-    std::string command = *it;
+  for (vector<string>::iterator it = commands.begin(); it != commands.end(); ++it) {
+    string command = *it;
 
     PyObject *globals_dict = PyModule_GetDict(manta_main_module);
     PyObject *return_value = PyRun_String(



More information about the Bf-blender-cvs mailing list