From 05e5fe4067ef7558240491ae51c78b579f13e7a0 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 19 May 2018 09:21:52 +0100 Subject: Removing parentDirectory, as it's not needed --- yage/core/iomanager.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'yage/core/iomanager.cpp') diff --git a/yage/core/iomanager.cpp b/yage/core/iomanager.cpp index 487ef8a9..b4e6847e 100644 --- a/yage/core/iomanager.cpp +++ b/yage/core/iomanager.cpp @@ -42,11 +42,6 @@ bool readFileToBuffer(const std::string &file_path, return true; } -std::string parentDirectory(std::string file_path) -{ - return std::regex_replace(file_path, std::regex("(.*)/.*"), "$1"); -} - } } // namespace yage -- cgit