Skip to content
Snippets Groups Projects
Commit ea2fd89e authored by Tom Fischer's avatar Tom Fischer
Browse files

[MeL] PropertyVector: Changed behaviour of size() method.

The method size() returns now the number of tuples instead of the number of values.
parent 7b1ed260
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,11 @@ public:
return t;
}
std::size_t size() const
{
return std::vector<PROP_VAL_TYPE>::size() / _tuple_size;
}
protected:
/// @brief The constructor taking meta information for the data.
/// @param property_name a string describing the property
......
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