mirror of
https://github.com/nlohmann/json.git
synced 2026-10-29 12:05:22 +00:00
deploy: 94fe31eb9b
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -42,7 +42,7 @@ The following code shows how two values are swapped with `std::swap`.
|
||||
#include <iomanip>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
using json = nlohmann::json;
|
||||
using nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -55,7 +55,7 @@ int main()
|
||||
// swap values
|
||||
std::swap(j1, j2);
|
||||
|
||||
std::cout << "j1 = " << j1 << " | j2 = " << j2 << std::endl;
|
||||
std::cout << "j1 = " << j1 << " | j2 = " << j2 << '\n';
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user