Skip to content

Commit ed89114

Browse files
committed
minor formatting changes
Signed-off-by: Ash-Jose <ashlinjose986@outlook.com>
1 parent b6e472c commit ed89114

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/nlohmann/detail/macro_scope.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@
287287
}); \
288288
if (it == std::end(m)) \
289289
{ \
290-
throw nlohmann::detail::type_error::create( \
290+
throw ::nlohmann::detail::type_error::create( \
291291
302, \
292292
std::string("invalid value for ") + #ENUM_TYPE + ": " + j.dump(), \
293-
&j); \
293+
&j); \
294294
} \
295295
e = it->first; \
296296
}

single_include/nlohmann/json.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2651,10 +2651,10 @@ JSON_HEDLEY_DIAGNOSTIC_POP
26512651
}); \
26522652
if (it == std::end(m)) \
26532653
{ \
2654-
throw nlohmann::detail::type_error::create( \
2654+
throw ::nlohmann::detail::type_error::create( \
26552655
302, \
26562656
std::string("invalid value for ") + #ENUM_TYPE + ": " + j.dump(), \
2657-
&j); \
2657+
&j); \
26582658
} \
26592659
e = it->first; \
26602660
}

0 commit comments

Comments
 (0)