summaryrefslogtreecommitdiffhomepage
path: root/serialize/json-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'serialize/json-helper.cpp')
-rw-r--r--serialize/json-helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/json-helper.cpp b/serialize/json-helper.cpp
index 9c3b5034..c350f92e 100644
--- a/serialize/json-helper.cpp
+++ b/serialize/json-helper.cpp
@@ -16,7 +16,7 @@ static T open_stream(StringView filename)
if (!s)
{
char errbuf[128];
- constexpr auto get_error_string = []<std::size_t N> (char (&buf)[N])
+ constexpr auto get_error_string = []<size_t N> (char (&buf)[N])
{
buf[0] = '\0';
#ifndef _WIN32