From cbc1aa8e9b15c56ab48dc8ca0c5010318d24b6a1 Mon Sep 17 00:00:00 2001 From: Dmitrij Naumov <dmitrij@naumov.de> Date: Fri, 12 Sep 2014 22:14:57 +0200 Subject: [PATCH] [A] Move unused (from outside) methods into private sec. --- Applications/ProjectData.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Applications/ProjectData.h b/Applications/ProjectData.h index 2b80598e59d..c0a8ba484aa 100644 --- a/Applications/ProjectData.h +++ b/Applications/ProjectData.h @@ -78,6 +78,7 @@ public: /// false otherwise. bool removeMesh(const std::string &name); +private: /// Checks if a mesh with the same name exists and provides a unique name in /// case of already existing mesh. Returns true if the mesh name is unique. /// Returns false and changes the provided name to a unique name otherwise. @@ -86,7 +87,7 @@ public: /// Returns true if a mesh with the same name exists and false otherwise. bool meshExists(const std::string &name) const; -private: + /// Returns an iterator to the first found mesh with the given name. std::vector<MeshLib::Mesh*>::const_iterator findMeshByName( std::string const& name) const; -- GitLab