mirror of
https://github.com/nlohmann/json.git
synced 2026-10-11 17:07:15 +00:00
Fix compilation error with NVCC (#3234)
This commit is contained in:
1 parent
926df56ddb
commit
b69713c394
3 files changed
+12
-8
No files matched your search
@@ -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