Salome HOME
Support of wide string
[modules/shaper.git] / src / SketchAPI / SketchAPI_Circle.cpp
index c4cd7db1543bd9b49ee1bca78e61f7412145c480..378e5be4b0e39946fba0d7d21efa7751df128b13 100644 (file)
@@ -68,7 +68,7 @@ SketchAPI_Circle::SketchAPI_Circle(const std::shared_ptr<ModelAPI_Feature>& theF
 
 //==================================================================================================
 SketchAPI_Circle::SketchAPI_Circle(const std::shared_ptr<ModelAPI_Feature>& theFeature,
-                                   const std::string& theExternalName)
+                                   const std::wstring& theExternalName)
 : SketchAPI_SketchEntity(theFeature)
 {
   if (initialize()) {
@@ -110,7 +110,7 @@ void SketchAPI_Circle::setByExternal(const ModelHighAPI_Selection & theExternal)
 }
 
 //==================================================================================================
-void SketchAPI_Circle::setByExternalName(const std::string & theExternalName)
+void SketchAPI_Circle::setByExternalName(const std::wstring & theExternalName)
 {
   fillAttribute(ModelHighAPI_Selection("EDGE", theExternalName), external());