From 4d3ed04028394a778cbba218593158d0f84c6607 Mon Sep 17 00:00:00 2001 From: Vitaly SMETANNIKOV Date: Wed, 18 Nov 2015 10:28:09 +0300 Subject: [PATCH] Fix the Linux compilation problem --- src/Model/Model_Objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2