diff --git a/MeshGeoToolsLib/MeshNodeSearcher.cpp b/MeshGeoToolsLib/MeshNodeSearcher.cpp
index 85df600ca7d513c4e4afa0b415dadfc189182743..8870cf4e39818e113b63b8291e4b9037eac8ecad 100644
--- a/MeshGeoToolsLib/MeshNodeSearcher.cpp
+++ b/MeshGeoToolsLib/MeshNodeSearcher.cpp
@@ -238,9 +238,4 @@ MeshNodeSearcher const& MeshNodeSearcher::getMeshNodeSearcher(
     return *_mesh_node_searchers[mesh_id];
 }
 
-std::size_t MeshNodeSearcher::getMeshId() const
-{
-    return _mesh.getID();
-}
-
 }  // end namespace MeshGeoToolsLib
diff --git a/MeshGeoToolsLib/MeshNodeSearcher.h b/MeshGeoToolsLib/MeshNodeSearcher.h
index 910c0dad7d09b4507a94f43b24945616467c28fb..aa66ea4692b390aa0d0f1af348329ba366af62fa 100644
--- a/MeshGeoToolsLib/MeshNodeSearcher.h
+++ b/MeshGeoToolsLib/MeshNodeSearcher.h
@@ -140,11 +140,6 @@ public:
     MeshNodesAlongSurface& getMeshNodesAlongSurface(
         GeoLib::Surface const& sfc) const;
 
-    /**
-     * Get the mesh this searcher operates on.
-     */
-    std::size_t getMeshId() const;
-
     /**
      * Returns a (possibly new) mesh node searcher for the mesh.
      * A new one will be created, if it does not already exists.