Mercurial > minori
diff src/core/filesystem.cpp @ 76:3364fadc8a36
*: format source code
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 04 Oct 2023 01:46:33 -0400 |
parents | fe719c109dbc |
children |
line wrap: on
line diff
--- a/src/core/filesystem.cpp Wed Oct 04 01:42:30 2023 -0400 +++ b/src/core/filesystem.cpp Wed Oct 04 01:46:33 2023 -0400 @@ -68,7 +68,7 @@ std::string Path::Basename() const { unsigned long long pos = _path.find_last_of(DELIM); - return pos != std::string::npos ? _path.substr(pos+1, _path.length()) : ""; + return pos != std::string::npos ? _path.substr(pos + 1, _path.length()) : ""; } std::string Path::Stem() const { @@ -80,7 +80,7 @@ std::string Path::Extension() const { std::string basename = Basename(); unsigned long long pos = basename.find_last_of("."); - return pos != std::string::npos ? basename.substr(pos+1, basename.length()) : ""; + return pos != std::string::npos ? basename.substr(pos + 1, basename.length()) : ""; } Path Path::GetParent() const {