Add missing const

This commit is contained in:
Simon Giraudot 2016-09-13 17:13:27 +02:00
parent 3fabd97cab
commit 1b37cbcb35
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public:
// get the type of property by its name. returns typeid(void) if it does not exist.
const std::type_info&
get_type(const std::string& name)
get_type(const std::string& name) const
{
for (unsigned int i=0; i<parrays_.size(); ++i)
if (parrays_[i]->name() == name)