Skip to content

Commit 996ad40

Browse files
committedMar 26, 2025
test JSONCONS_VISITOR macros
1 parent 2270ed0 commit 996ad40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎include/jsoncons/config/jsoncons_config.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,13 @@ namespace jsoncons {
228228
#define JSONCONS_STRING_VIEW_CONSTANT(CharT, Str) string_view_constant_of_type<CharT>(Str, JSONCONS_WIDEN(Str))
229229

230230

231-
#if defined(JSONCONS_VISITOR_NO_RETURN)
231+
#if defined(JSONCONS_NO_DEPRECATED)
232232
#define JSONCONS_VISITOR_RETURN_TYPE void
233233
#else
234234
#define JSONCONS_VISITOR_RETURN_TYPE bool
235235
#endif
236236

237-
#if defined(JSONCONS_VISITOR_NO_RETURN)
237+
#if defined(JSONCONS_NO_DEPRECATED)
238238
#define JSONCONS_VISITOR_RETURN
239239
#else
240240
#define JSONCONS_VISITOR_RETURN return true;

0 commit comments

Comments
 (0)