From 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Mar 2023 23:42:07 +0100 Subject: pre-declare integer types without cstddef/cstdint --- serialize/json-helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'serialize/json-helper.cpp') 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 = [] (char (&buf)[N]) + constexpr auto get_error_string = [] (char (&buf)[N]) { buf[0] = '\0'; #ifndef _WIN32 -- cgit v1.2.3