Salome HOME
Support of wide string
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Interface.cpp
index cb0373bfa4c2ef4582f6851a6d308bb151dcc143..5fd4de052d0479f8367fb4ee996630c4c7f71adb 100644 (file)
@@ -86,13 +86,13 @@ void ModelHighAPI_Interface::execute(bool isForce)
   //aLoop->flush(Events_Loop::eventByName(EVENT_OBJECT_DELETED));
 }
 
-void ModelHighAPI_Interface::setName(const std::string& theName)
+void ModelHighAPI_Interface::setName(const std::wstring& theName)
 {
   if (feature().get())
     feature()->data()->setName(theName);
 }
 
-std::string ModelHighAPI_Interface::name() const
+std::wstring ModelHighAPI_Interface::name() const
 {
   return feature()->data()->name();
 }