Fix double scope causing build error
This commit is contained in:
@@ -258,7 +258,7 @@ namespace misc {
|
||||
std::vector<std::string> string_expand(const std::string& input, char delimiter = ' ');
|
||||
bool string_matches(const std::string& x, const std::vector<std::string>& v);
|
||||
|
||||
std::vector<std::string> misc::string_expand(const std::string& input, char delimiter)
|
||||
std::vector<std::string> string_expand(const std::string& input, char delimiter)
|
||||
{
|
||||
std::vector<std::string> result;
|
||||
std::stringstream ss (input);
|
||||
@@ -271,7 +271,7 @@ namespace misc {
|
||||
|
||||
}
|
||||
|
||||
auto misc::string_matches(const std::string &x, const std::vector<std::string> &v) -> bool {
|
||||
auto string_matches(const std::string &x, const std::vector<std::string> &v) -> bool {
|
||||
|
||||
return std::find(v.begin(), v.end(), x) != v.end();
|
||||
|
||||
|
Reference in New Issue
Block a user