summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sord/sordmm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 2fa8a51..bbb378e 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -628,7 +628,7 @@ static size_t
string_sink(const void* buf, size_t len, void* stream)
{
try {
- std::string* str = static_cast<std::string*>(stream);
+ auto* str = static_cast<std::string*>(stream);
str->append(static_cast<const char*>(buf), len);
return len;
} catch (...) {