]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the Linux compilation problem
authorVitaly SMETANNIKOV <vsv@opencascade.com>
Wed, 18 Nov 2015 07:28:09 +0000 (10:28 +0300)
committerVitaly SMETANNIKOV <vsv@opencascade.com>
Wed, 18 Nov 2015 07:28:09 +0000 (10:28 +0300)
src/Model/Model_Objects.cpp

index 03e3db3df3ef0c08432081f43fb8c0a1dcf08f52..03e7bdee9ab4768a2cdeed9bd77e400ad7fe4ad5 100644 (file)
@@ -340,7 +340,7 @@ void Model_Objects::createHistory(const std::string& theGroupID)
 {
   std::map<std::string, std::vector<ObjectPtr> >::iterator aHIter = myHistory.find(theGroupID);
   if (aHIter == myHistory.end()) {
-    std::vector<ObjectPtr>& aResult = std::vector<ObjectPtr>();
+    std::vector<ObjectPtr> aResult = std::vector<ObjectPtr>();
     // iterate the array of references and get feature by feature from the array
     bool isFeature = theGroupID == ModelAPI_Feature::group();
     Handle(TDataStd_ReferenceArray) aRefs;