Skip to content

Commit

Permalink
chore: temp var name
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Jan 23, 2024
1 parent 2a16121 commit 8cb5c2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2864,8 +2864,8 @@ static constexpr string_t unescape_string(const string_t& str)
#define _MEOJSON_ARG_TO_PAIR(x) { _MEOJSON_STRINGIZE(x), json::serialize<false>(x) },

#define _MEOJSON_ARG_FROM_JSON(x) \
if (auto x##opt = raw.find<decltype(x)>(#x)) \
x = *std::move(x##opt); \
if (auto _MEOJSON_CONCATENATE(x, _opt) = raw.find<decltype(x)>(#x)) \
x = *std::move(_MEOJSON_CONCATENATE(x, _opt)); \
else \
return false;

Expand Down

0 comments on commit 8cb5c2f

Please sign in to comment.