aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/iomanager.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-19 09:21:52 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-19 09:21:52 +0100
commit05e5fe4067ef7558240491ae51c78b579f13e7a0 (patch)
tree66c08dee807fc0349db38149a4c28785d3be3141 /yage/core/iomanager.cpp
parent325401b074fda0e75602d02111638739c750706a (diff)
downloadYAGE-05e5fe4067ef7558240491ae51c78b579f13e7a0.tar.gz
YAGE-05e5fe4067ef7558240491ae51c78b579f13e7a0.zip
Removing parentDirectory, as it's not needed
Diffstat (limited to 'yage/core/iomanager.cpp')
-rw-r--r--yage/core/iomanager.cpp5
1 files changed, 0 insertions, 5 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