mirror of
https://github.com/nlohmann/json.git
synced 2026-03-27 11:22:49 +00:00
Fix compilation error with NVCC (#3234)
This commit is contained in:
@@ -4,4 +4,8 @@ int main()
|
||||
{
|
||||
nlohmann::ordered_json json = {"Test"};
|
||||
json.dump();
|
||||
|
||||
// regression for #3013 (ordered_json::reset() compile error with nvcc)
|
||||
nlohmann::ordered_json metadata;
|
||||
metadata.erase("key");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user