summaryrefslogtreecommitdiff
path: root/src/string_utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_utils.hh')
-rw-r--r--src/string_utils.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string_utils.hh b/src/string_utils.hh
index 558ba62f..0a6c2594 100644
--- a/src/string_utils.hh
+++ b/src/string_utils.hh
@@ -68,6 +68,7 @@ Optional<int> str_to_int_ifp(StringView str);
inline String option_to_string(StringView opt) { return opt.str(); }
inline String option_from_string(Meta::Type<String>, StringView str) { return str.str(); }
inline bool option_add(String& opt, StringView val) { opt += val; return not val.empty(); }
+constexpr bool option_needs_quoting(Meta::Type<String>) { return true; }
template<size_t N>
struct InplaceString