Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchAPI / SketchAPI_IntersectionPoint.cpp
index e4732fbda8b5ba74f3c8c94c88927d69f4fbed2f..6cc79abd2b1bd5092adc5f6296d8496ec943ab84 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -47,7 +47,7 @@ SketchAPI_IntersectionPoint::SketchAPI_IntersectionPoint(
 
 SketchAPI_IntersectionPoint::SketchAPI_IntersectionPoint(
     const std::shared_ptr<ModelAPI_Feature> & theFeature,
-    const std::string & theExternalName )
+    const std::wstring & theExternalName )
 : SketchAPI_SketchEntity(theFeature)
 {
   if (initialize()) {
@@ -68,7 +68,7 @@ void SketchAPI_IntersectionPoint::setByExternalEdge(const ModelHighAPI_Selection
   execute();
 }
 
-void SketchAPI_IntersectionPoint::setByExternalEdgeName(const std::string & theExternalLineName)
+void SketchAPI_IntersectionPoint::setByExternalEdgeName(const std::wstring & theExternalLineName)
 {
   fillAttribute(ModelHighAPI_Selection("EDGE", theExternalLineName), externalFeature());