diff --git a/Core/Tools/Utils.cpp b/Core/Tools/Utils.cpp index eb3f0842a32ace2f24fd305c5df52d6394903699..e0e58c7d46c79eaf604bfa155d1fb2255f68ecf2 100644 --- a/Core/Tools/Utils.cpp +++ b/Core/Tools/Utils.cpp @@ -78,21 +78,6 @@ std::string Utils::String::join(const std::vector<std::string>& joinable, const return result; } -//! Returns flattened filename, i.e. all directory separator ('/' or '\') are replaced by '_'. -std::string Utils::String::flatFilename(const std::string& fname) -{ - std::string result = fname; - for (size_t i=0; i<result.size(); ++i) - if (result[i]=='/' || result[i]=='\\') - result[i] = '_'; - return result; -} - -//! Returns file names that agree with glob pattern. -std::vector<std::string> glob(const std::string& pattern) -{ -} - int Utils::System::getThreadHardwareConcurrency() { return std::thread::hardware_concurrency(); diff --git a/Core/Tools/Utils.h b/Core/Tools/Utils.h index ff29a59e52cc8d2c10b0f2466742466e5de8b00b..5d3391559ef9930f3859070b89b3705b4f8a2adc 100644 --- a/Core/Tools/Utils.h +++ b/Core/Tools/Utils.h @@ -46,9 +46,6 @@ public: //! Returns string obtain by joining vector elements static std::string join(const std::vector<std::string>& joinable, const std::string& joint); - - //! Returns flattened filename, i.e. all directory separator ('/' or '\') are replaced by '_'. - static std::string flatFilename(const std::string& filename); };