From 81c2c96ee0b60f6dedfba649092558c924aed901 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 27 Nov 2019 15:19:42 +0100
Subject: [PATCH] [App/DHL] Remove unused Project::meshExists.

---
 Applications/DataHolderLib/Project.cpp | 5 -----
 Applications/DataHolderLib/Project.h   | 4 ----
 2 files changed, 9 deletions(-)

diff --git a/Applications/DataHolderLib/Project.cpp b/Applications/DataHolderLib/Project.cpp
index 49942e9f089..097367bea39 100644
--- a/Applications/DataHolderLib/Project.cpp
+++ b/Applications/DataHolderLib/Project.cpp
@@ -60,11 +60,6 @@ bool Project::removeMesh(const std::string &name)
     return false;
 }
 
-bool Project::meshExists(const std::string &name) const
-{
-    return findMeshByName(name) != _mesh_vec.end();
-}
-
 bool Project::getUniqueName(std::string &name) const
 {
     int count(0);
diff --git a/Applications/DataHolderLib/Project.h b/Applications/DataHolderLib/Project.h
index 3af09063bbb..02ca9234301 100644
--- a/Applications/DataHolderLib/Project.h
+++ b/Applications/DataHolderLib/Project.h
@@ -106,10 +106,6 @@ private:
     /// Returns false and changes the provided name to a unique name otherwise.
     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.
     std::vector<std::unique_ptr<MeshLib::Mesh>>::const_iterator findMeshByName(
         std::string const& name) const;
-- 
GitLab