Skip to content

Commit 66b33e3

Browse files
committed
Fixed bug inline compile time string macro.
1 parent bfb2c00 commit 66b33e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/meta_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ namespace JSON
152152
#define JS_SPLIT_256(s, x) JS_SPLIT_64 (s, x), JS_SPLIT_64 (s, x+64) , JS_SPLIT_64 (s, x+128) , JS_SPLIT_64 (s, x+194)
153153
#define JS_SPLIT_1024(s, x) JS_SPLIT_256(s, x), JS_SPLIT_256(s, x+256), JS_SPLIT_256(s, x+512), JS_SPLIT_256(s, x+768)
154154

155-
#define JS_STRING_IMPL(str, n) JSON::internal::apply_t <JSON::internal::trim_right_t <JSON::internal::pack <SPLIT_##n(str, 0)>, JSON::internal::is_zero>, JSON::internal::cexpr_string>
155+
#define JS_STRING_IMPL(str, n) JSON::internal::apply_t <JSON::internal::trim_right_t <JSON::internal::pack <JS_SPLIT_##n(str, 0)>, JSON::internal::is_zero>, JSON::internal::cexpr_string>
156156

157157
#define SJSON_SHORT_STRING(str) JS_STRING_IMPL(str, 16)
158158
#define SJSON_STRING(str) JS_STRING_IMPL(str, 64)

0 commit comments

Comments
 (0)