mirror of
https://github.com/nlohmann/json.git
synced 2026-10-28 19:45:22 +00:00
deploy: 94fe31eb9b
This commit is contained in:
@@ -44,7 +44,7 @@ void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2)
|
||||
#include <iomanip>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
using json = nlohmann::json;
|
||||
using nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -57,7 +57,7 @@ void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2)
|
||||
// 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