This commit is contained in:
nlohmann committed 2025-10-30 09:44:34 +00:00
1 parent d2014a5a79
commit 0451d43da5
255 files changed
+574 -574

No files matched your search

+2 -2
View File
@@ -26,8 +26,8 @@ int main()
// deserialization
json j_rot = "rot";
auto rot = j_rot.template get<ns::Color>();
auto red = j_red.template get<ns::Color>();
auto rot = j_rot.get<ns::Color>();
auto red = j_red.get<ns::Color>();
std::cout << j_rot << " -> " << static_cast<int>(rot) << std::endl;
std::cout << j_red << " -> " << static_cast<int>(red) << std::endl;
}