diff options
| author | Mat M <mathew1800@gmail.com> | 2021-05-13 06:47:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-13 06:47:38 -0400 |
| commit | 7a72a5b997f87bcb7f55c9fbd358328fec68e536 (patch) | |
| tree | 92032c7cdc1a60fd3c3d6390ebd87f477ee37183 /Source/Core/Common/StringUtil.h | |
| parent | d034c830acfab16f93aefcfe65e3719f3f87cb4a (diff) | |
| parent | 574477866fe3e82a87214848d3d4b505535f2d3b (diff) | |
Merge pull request #9703 from Filoppi/fix_expression_serialization
Fix serialization of control expressions with line breaks
Diffstat (limited to 'Source/Core/Common/StringUtil.h')
| -rw-r--r-- | Source/Core/Common/StringUtil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h index 615127d191..ada0eee3bd 100644 --- a/Source/Core/Common/StringUtil.h +++ b/Source/Core/Common/StringUtil.h @@ -52,6 +52,8 @@ std::string_view StripQuotes(std::string_view s); std::string ReplaceAll(std::string result, std::string_view src, std::string_view dest); +void ReplaceBreaksWithSpaces(std::string& str); + bool TryParse(const std::string& str, bool* output); template <typename T, std::enable_if_t<std::is_integral_v<T> || std::is_enum_v<T>>* = nullptr> |
