Fixed formatting

This commit is contained in:
Bartek Kryza
2023-01-21 23:23:36 +01:00
parent 023a4a0cc0
commit 3005ad7c37
2 changed files with 2 additions and 4 deletions

View File

@@ -130,8 +130,7 @@ public:
void pop_back() void pop_back()
{ {
if (!path_.empty()) if (!path_.empty()) {
{
path_.pop_back(); path_.pop_back();
} }
} }

View File

@@ -162,8 +162,7 @@ template <>
bool starts_with( bool starts_with(
const std::filesystem::path &path, const std::filesystem::path &prefix); const std::filesystem::path &path, const std::filesystem::path &prefix);
template <> template <> bool starts_with(const std::string &s, const std::string &prefix);
bool starts_with(const std::string &s, const std::string &prefix);
template <typename T> bool ends_with(const T &value, const T &suffix); template <typename T> bool ends_with(const T &value, const T &suffix);