Commit b622bb44 authored by Patrik Huber's avatar Patrik Huber

Changed size() to num_mappings() in LandmarkMapper

parent a3deb18d
...@@ -65,8 +65,7 @@ public: ...@@ -65,8 +65,7 @@ public:
* that performs an identity mapping is constructed. * that performs an identity mapping is constructed.
* *
* @param[in] filename A file with landmark mappings. * @param[in] filename A file with landmark mappings.
* @throws runtime_error if there is an error loading * @throws runtime_error if there is an error loading the mappings from the file.
* the mappings from the file.
*/ */
LandmarkMapper(boost::filesystem::path filename) LandmarkMapper(boost::filesystem::path filename)
{ {
...@@ -125,7 +124,7 @@ public: ...@@ -125,7 +124,7 @@ public:
* *
* @return The number of landmark mappings. * @return The number of landmark mappings.
*/ */
auto size() const auto num_mappings() const
{ {
return landmark_mappings.size(); return landmark_mappings.size();
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment