Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit abbe0c4

Browse files
committed
fix
1 parent 3a7ad09 commit abbe0c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/tutorial-basics/tutorial_12_groot2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ https://json.nlohmann.me/features/arbitrary_types/
148148

149149
For instance, given a user-defined type:
150150

151-
```c++
151+
```cpp
152152
struct Pose2D {
153153
double x;
154154
double y;
@@ -158,7 +158,7 @@ struct Pose2D {
158158
159159
The following function should be implemented:
160160
161-
```c++
161+
```cpp
162162
void to_json(nlohmann::json& dest, const Pose2D& pose) {
163163
dest["x"] = pose.x;
164164
dest["y"] = pose.y;

0 commit comments

Comments
 (0)