From 0eeed644b05220149ae42fcb7a16c1ee206f23e7 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Fri, 11 Oct 2013 14:18:15 +0200 Subject: [PATCH] Using reference instead of full copy. --- FileIO/XmlIO/XmlCndInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FileIO/XmlIO/XmlCndInterface.cpp b/FileIO/XmlIO/XmlCndInterface.cpp index f1fdc3fcee4..a6d4579b79e 100644 --- a/FileIO/XmlIO/XmlCndInterface.cpp +++ b/FileIO/XmlIO/XmlCndInterface.cpp @@ -181,7 +181,7 @@ int XmlCndInterface::write(std::ostream& stream) root.setAttribute( "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance" ); root.setAttribute( "xsi:noNamespaceSchemaLocation", "http://141.65.34.25/OpenGeoSysCND.xsd" ); - const std::vector<FEMCondition*> conditions (_project->getConditions( + std::vector<FEMCondition*> const& conditions (_project->getConditions( FiniteElement::INVALID_PROCESS, _exportName, _type) ); -- GitLab