Import Geant4 11.3.0 source tree
This commit is contained in:
+2
-1
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
#include "forit"
|
||||
|
||||
@@ -37,7 +38,7 @@ inline bool replace(std::string& a_string,const std::string& a_old,const std::st
|
||||
status = true;
|
||||
}
|
||||
}
|
||||
a_string = snew;
|
||||
a_string = std::move(snew);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user