StringUtil: Move IsAlpha() into Common namespace
This commit is contained in:
1 parent
e0ef474d95
commit
a9f1edeb61
2 files changed
+11
-9
No files matched your search
@@ -43,7 +43,7 @@ std::string GetExpressionForControl(const std::string& control_name,
|
||||
{
|
||||
// If our expression contains any non-alpha characters
|
||||
// we should quote it
|
||||
if (!std::all_of(expr.begin(), expr.end(), IsAlpha))
|
||||
if (!std::all_of(expr.begin(), expr.end(), Common::IsAlpha))
|
||||
expr = fmt::format("`{}`", expr);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user