Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarString.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarString.hpp')
-rw-r--r--source/core/StarString.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarString.hpp b/source/core/StarString.hpp
index 7bca996..a401076 100644
--- a/source/core/StarString.hpp
+++ b/source/core/StarString.hpp
@@ -388,7 +388,7 @@ String String::lookupTags(Lookup&& lookup) const {
auto substrInto = [](std::string const& ref, size_t position, size_t n, std::string& result) {
auto len = ref.size();
if (position > len)
- throw OutOfRangeException(strf("out of range in substrInto: %s", position));
+ throw OutOfRangeException(strf("out of range in substrInto: {}", position));
auto it = ref.begin();
std::advance(it, position);