From cac4b499e6b9cf92011e62ffd3034d8975190eaa Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Thu, 21 May 2015 15:27:11 +0200
Subject: [PATCH] [MeL] Make Properties::hasPropertyVector() const.

---
 MeshLib/Properties.cpp | 2 +-
 MeshLib/Properties.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MeshLib/Properties.cpp b/MeshLib/Properties.cpp
index 08e0ee48664..a57fb799665 100644
--- a/MeshLib/Properties.cpp
+++ b/MeshLib/Properties.cpp
@@ -30,7 +30,7 @@ void Properties::removePropertyVector(std::string const& name)
 	_properties.erase(it);
 }
 
-bool Properties::hasPropertyVector(std::string const& name)
+bool Properties::hasPropertyVector(std::string const& name) const
 {
 	std::map<std::string, PropertyVectorBase*>::const_iterator it(
 		_properties.find(name)
diff --git a/MeshLib/Properties.h b/MeshLib/Properties.h
index 5194ebf27f4..d1c2cabacbe 100644
--- a/MeshLib/Properties.h
+++ b/MeshLib/Properties.h
@@ -98,7 +98,7 @@ public:
 	/// Check if a PropertyVector accessible by the name is already
 	/// stored within the Properties object.
 	/// @param name the name of the property (for instance porosity)
-	bool hasPropertyVector(std::string const& name);
+	bool hasPropertyVector(std::string const& name) const;
 
 	std::vector<std::string> getPropertyVectorNames() const;
 
-- 
GitLab