Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Harinath Nampally <harinath922@gmail.com>
  • Loading branch information
hnampally committed Jan 20, 2025
1 parent 0083937 commit c6d9ea0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ Both examples demonstrate:
## Version history
- Added in version 3.11.3.
- Added in version 3.11.4
2 changes: 1 addition & 1 deletion docs/mkdocs/docs/features/enum_conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ NLOHMANN_JSON_SERIALIZE_ENUM( TaskState, {
The [`NLOHMANN_JSON_SERIALIZE_ENUM()` macro](../api/macros/nlohmann_json_serialize_enum.md) declares a set of
`to_json()` / `from_json()` functions for type `TaskState` while avoiding repetition and boilerplate serialization code.
## Usage
```cpp
Expand Down
4 changes: 2 additions & 2 deletions include/nlohmann/detail/macro_scope.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@

/*!
@brief macro to briefly define a mapping between an enum and JSON
@def NLOHMANN_JSON_SERIALIZE_ENUM
@since version 3.4.0
@def NLOHMANN_JSON_SERIALIZE_ENUM_STRICT
@since version 3.11.4
*/
#define NLOHMANN_JSON_SERIALIZE_ENUM_STRICT(ENUM_TYPE, ...) \
template<typename BasicJsonType> \
Expand Down
4 changes: 2 additions & 2 deletions single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2610,8 +2610,8 @@ JSON_HEDLEY_DIAGNOSTIC_POP

/*!
@brief macro to briefly define a mapping between an enum and JSON
@def NLOHMANN_JSON_SERIALIZE_ENUM
@since version 3.4.0
@def NLOHMANN_JSON_SERIALIZE_ENUM_STRICT
@since version 3.11.4
*/
#define NLOHMANN_JSON_SERIALIZE_ENUM_STRICT(ENUM_TYPE, ...) \
template<typename BasicJsonType> \
Expand Down

0 comments on commit c6d9ea0

Please sign in to comment.