Fix highlighted lines in serialization-only macros
This commit is contained in:
parent
77922a4ed1
commit
35e6af54bd
@ -110,7 +110,7 @@ See examples below for the concrete generated code.
|
|||||||
|
|
||||||
The macro is equivalent to:
|
The macro is equivalent to:
|
||||||
|
|
||||||
```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34 35"
|
```cpp hl_lines="22 23 24 25 26 27 28 29 30 31 32 33 34 35"
|
||||||
--8<-- "examples/nlohmann_define_type_intrusive_with_default_explicit.cpp"
|
--8<-- "examples/nlohmann_define_type_intrusive_with_default_explicit.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ See examples below for the concrete generated code.
|
|||||||
??? example "Example (3): NLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE"
|
??? example "Example (3): NLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE"
|
||||||
Consider the following complete example:
|
Consider the following complete example:
|
||||||
|
|
||||||
```cpp hl_lines="21"
|
```cpp hl_lines="22"
|
||||||
--8<-- "examples/nlohmann_define_type_intrusive_only_serialize_macro.cpp"
|
--8<-- "examples/nlohmann_define_type_intrusive_only_serialize_macro.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ See examples below for the concrete generated code.
|
|||||||
|
|
||||||
The macro is equivalent to:
|
The macro is equivalent to:
|
||||||
|
|
||||||
```cpp hl_lines="21 22 23 24 25 26"
|
```cpp hl_lines="22 22 23 24 25 26 27"
|
||||||
--8<-- "examples/nlohmann_define_type_intrusive_only_serialize_explicit.cpp"
|
--8<-- "examples/nlohmann_define_type_intrusive_only_serialize_explicit.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -90,7 +90,7 @@ See examples below for the concrete generated code.
|
|||||||
|
|
||||||
Consider the following complete example:
|
Consider the following complete example:
|
||||||
|
|
||||||
```cpp hl_lines="21"
|
```cpp hl_lines="22"
|
||||||
--8<-- "examples/nlohmann_define_type_non_intrusive_with_default_macro.cpp"
|
--8<-- "examples/nlohmann_define_type_non_intrusive_with_default_macro.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ See examples below for the concrete generated code.
|
|||||||
|
|
||||||
The macro is equivalent to:
|
The macro is equivalent to:
|
||||||
|
|
||||||
```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34"
|
```cpp hl_lines="22 23 24 25 26 27 28 29 30 31 32 33 34 35"
|
||||||
--8<-- "examples/nlohmann_define_type_non_intrusive_with_default_explicit.cpp"
|
--8<-- "examples/nlohmann_define_type_non_intrusive_with_default_explicit.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ See examples below for the concrete generated code.
|
|||||||
|
|
||||||
Consider the following complete example:
|
Consider the following complete example:
|
||||||
|
|
||||||
```cpp hl_lines="15"
|
```cpp hl_lines="16"
|
||||||
--8<-- "examples/nlohmann_define_type_non_intrusive_only_serialize_macro.cpp"
|
--8<-- "examples/nlohmann_define_type_non_intrusive_only_serialize_macro.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ See examples below for the concrete generated code.
|
|||||||
|
|
||||||
The macro is equivalent to:
|
The macro is equivalent to:
|
||||||
|
|
||||||
```cpp hl_lines="15 16 17 18 19 20"
|
```cpp hl_lines="16 17 18 19 20 21"
|
||||||
--8<-- "examples/nlohmann_define_type_non_intrusive_only_serialize_explicit.cpp"
|
--8<-- "examples/nlohmann_define_type_non_intrusive_only_serialize_explicit.cpp"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user