]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.h
Salome HOME
Pipe feature
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeShape.h
index acbc9c84fbf5247c7820ee6dad889bf833986089..b5e40ef2439bc5c0fd97618c01c5ff7d133a671a 100644 (file)
@@ -20,9 +20,9 @@ class GeomAlgoAPI_MakeShape : public GeomAPI_Interface
 public:
   /// Builder type enum
   enum BuilderType {
+    Unknown,
     OCCT_BRepBuilderAPI_MakeShape,
-    OCCT_BOPAlgo_Builder,
-    UNKNOWN
+    OCCT_BOPAlgo_Builder
   };
 
 public:
@@ -45,7 +45,7 @@ public:
   template<class T> void initialize(T* theBuilder, const BuilderType theBuilderType = OCCT_BRepBuilderAPI_MakeShape)
   {
     setImpl(theBuilder);
-    myBuilderType = theBuilder;
+    myBuilderType = theBuilderType;
     initialize();
   }