diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-05-19 09:21:52 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-05-19 09:21:52 +0100 |
commit | 05e5fe4067ef7558240491ae51c78b579f13e7a0 (patch) | |
tree | 66c08dee807fc0349db38149a4c28785d3be3141 | |
parent | 325401b074fda0e75602d02111638739c750706a (diff) | |
download | YAGE-05e5fe4067ef7558240491ae51c78b579f13e7a0.tar.gz YAGE-05e5fe4067ef7558240491ae51c78b579f13e7a0.zip |
Removing parentDirectory, as it's not needed
-rw-r--r-- | yage/core/iomanager.cpp | 5 | ||||
-rw-r--r-- | yage/core/iomanager.h | 2 |
2 files changed, 0 insertions, 7 deletions
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 diff --git a/yage/core/iomanager.h b/yage/core/iomanager.h index 556cffb4..adf91ace 100644 --- a/yage/core/iomanager.h +++ b/yage/core/iomanager.h @@ -21,8 +21,6 @@ namespace IoManager extern bool readFileToBuffer(const std::string &file_path, std::vector<unsigned char> &buffer); -extern std::string parentDirectory(std::string file_path); - } } // namespace yage |