Skip to content
Snippets Groups Projects
Commit cac4b499 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] Make Properties::hasPropertyVector() const.

parent beab7de7
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ void Properties::removePropertyVector(std::string const& name) ...@@ -30,7 +30,7 @@ void Properties::removePropertyVector(std::string const& name)
_properties.erase(it); _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( std::map<std::string, PropertyVectorBase*>::const_iterator it(
_properties.find(name) _properties.find(name)
......
...@@ -98,7 +98,7 @@ public: ...@@ -98,7 +98,7 @@ public:
/// Check if a PropertyVector accessible by the name is already /// Check if a PropertyVector accessible by the name is already
/// stored within the Properties object. /// stored within the Properties object.
/// @param name the name of the property (for instance porosity) /// @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; std::vector<std::string> getPropertyVectorNames() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment