diff options
Diffstat (limited to 'zencore/string.cpp')
| -rw-r--r-- | zencore/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/string.cpp b/zencore/string.cpp index 21ba5b204..3037df0e7 100644 --- a/zencore/string.cpp +++ b/zencore/string.cpp @@ -437,7 +437,7 @@ template<typename C> [[noreturn]] void StringBuilderImpl<C>::Fail(const char* reason) { - throw std::exception(reason); + throw std::runtime_error(reason); } // Instantiate templates once |