From: Vitaly SMETANNIKOV Date: Wed, 18 Nov 2015 07:28:09 +0000 (+0300) Subject: Fix the Linux compilation problem X-Git-Tag: V_2.0.0~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4d3ed04028394a778cbba218593158d0f84c6607;p=modules%2Fshaper.git Fix the Linux compilation problem --- diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 03e3db3df..03e7bdee9 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -340,7 +340,7 @@ void Model_Objects::createHistory(const std::string& theGroupID) { std::map >::iterator aHIter = myHistory.find(theGroupID); if (aHIter == myHistory.end()) { - std::vector& aResult = std::vector(); + std::vector aResult = std::vector(); // iterate the array of references and get feature by feature from the array bool isFeature = theGroupID == ModelAPI_Feature::group(); Handle(TDataStd_ReferenceArray) aRefs;