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

[App/DHL] Remove unused Project::meshExists.

parent 01f94751
No related branches found
No related tags found
No related merge requests found
...@@ -60,11 +60,6 @@ bool Project::removeMesh(const std::string &name) ...@@ -60,11 +60,6 @@ bool Project::removeMesh(const std::string &name)
return false; return false;
} }
bool Project::meshExists(const std::string &name) const
{
return findMeshByName(name) != _mesh_vec.end();
}
bool Project::getUniqueName(std::string &name) const bool Project::getUniqueName(std::string &name) const
{ {
int count(0); int count(0);
......
...@@ -106,10 +106,6 @@ private: ...@@ -106,10 +106,6 @@ private:
/// Returns false and changes the provided name to a unique name otherwise. /// Returns false and changes the provided name to a unique name otherwise.
bool getUniqueName(std::string &name) const; bool getUniqueName(std::string &name) const;
/// Returns true if a mesh with the same name exists and false otherwise.
bool meshExists(const std::string &name) const;
/// Returns an iterator to the first found mesh with the given name. /// Returns an iterator to the first found mesh with the given name.
std::vector<std::unique_ptr<MeshLib::Mesh>>::const_iterator findMeshByName( std::vector<std::unique_ptr<MeshLib::Mesh>>::const_iterator findMeshByName(
std::string const& name) const; std::string const& name) 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