diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52c505d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/.idea +/.cache +/.ccls-cache +/compile_commands.json +/cmake-build-debug +/build diff --git a/src/EditorApp.cpp b/src/EditorApp.cpp index ee75691..2fa2f33 100644 --- a/src/EditorApp.cpp +++ b/src/EditorApp.cpp @@ -258,7 +258,7 @@ namespace misc { std::vector string_expand(const std::string& input, char delimiter = ' '); bool string_matches(const std::string& x, const std::vector& v); - std::vector misc::string_expand(const std::string& input, char delimiter) + std::vector string_expand(const std::string& input, char delimiter) { std::vector result; std::stringstream ss (input); @@ -271,7 +271,7 @@ namespace misc { } - auto misc::string_matches(const std::string &x, const std::vector &v) -> bool { + auto string_matches(const std::string &x, const std::vector &v) -> bool { return std::find(v.begin(), v.end(), x) != v.end();