diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
| commit | 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch) | |
| tree | c0a5d21b8e19fbb60c286faec8e302e6f32b6679 /serialize/json-helper.cpp | |
| parent | 32b8c22828315292857e2cd9909fba620f30ff70 (diff) | |
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'serialize/json-helper.cpp')
| -rw-r--r-- | serialize/json-helper.cpp | 2 |
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 |
