diff --git a/GeoLib/StationBorehole.cpp b/GeoLib/StationBorehole.cpp
index bd6d00162fca9a54b45bf443f84b410ddef82b94..e2d2de40a97e36619ad47b9206fa12e89e1f158a 100644
--- a/GeoLib/StationBorehole.cpp
+++ b/GeoLib/StationBorehole.cpp
@@ -14,6 +14,7 @@
 
 #include "StationBorehole.h"
 
+#include <algorithm>
 #include <cmath>
 #include <cstdlib>
 #include <fstream>
@@ -53,19 +54,6 @@ StationBorehole::~StationBorehole()
     }
 }
 
-int StationBorehole::find(const std::string &str)
-{
-    std::size_t size = _soilName.size();
-    for (std::size_t i = 0; i < size; i++)
-    {
-        if (_soilName[i].find(str) == 0)
-        {
-            return 1;
-        }
-    }
-    return 0;
-}
-
 int StationBorehole::readStratigraphyFile(const std::string &path,
                                           std::vector<std::list<std::string> > &data)
 {
diff --git a/GeoLib/StationBorehole.h b/GeoLib/StationBorehole.h
index 9297cef2a756672e407771a1139ff636d08adb84..1e74b51ba15a31df22ec525e54e375acac2bc0e9 100644
--- a/GeoLib/StationBorehole.h
+++ b/GeoLib/StationBorehole.h
@@ -63,10 +63,6 @@ public:
      * assumes that everything is in right order and will work out fine!
      */
     static int addStratigraphies(const std::string &path, std::vector<Point*>* boreholes);
-
-    /// Finds the given string in the vector of soil-names
-    int find(const std::string &str);
-
     // Returns the depth of the borehole
     double getDepth() const { return _depth; }