Skip to content

Commit f307c0a

Browse files
committed
Addressing warning with Clang about needed additional braces.
1 parent 4f3b56e commit f307c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/json/json_serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void web::json::details::append_escape_string(std::basic_string<CharType>& str,
111111
// If a control character then must unicode escaped.
112112
if (ch >= 0 && ch <= 0x1F)
113113
{
114-
static const std::array<CharType, 16> intToHex = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
114+
static const std::array<CharType, 16> intToHex = { { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' } };
115115
str += '\\';
116116
str += 'u';
117117
str += '0';

0 commit comments

Comments
 (0)