aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Path.cpp')
-rw-r--r--lib/System/Path.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index 03cdbf7764..af400e95e3 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -185,11 +185,6 @@ bool Path::hasMagicNumber(const std::string &Magic) const {
return false;
}
-std::string
-Path::getSuffix() const {
- return path.substr(path.rfind('.') + 1);
-}
-
static void getPathList(const char*path, std::vector<Path>& Paths) {
const char* at = path;
const char* delim = strchr(at, PathSeparator);