We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cae4d3e + c8e376c commit 209f5ecCopy full SHA for 209f5ec
include/crow/json.h
@@ -1653,7 +1653,7 @@ namespace crow
1653
}
1654
else
1655
{
1656
-#if defined(__APPLE__) || defined(__MACH__)
+#if defined(__APPLE__) || defined(__MACH__) || defined (__FreeBSD__)
1657
o = std::unique_ptr<object>(new object(initializer_list));
1658
#else
1659
(*o) = initializer_list;
@@ -1672,7 +1672,7 @@ namespace crow
1672
1673
1674
1675
1676
o = std::unique_ptr<object>(new object(value));
1677
1678
(*o) = value;
0 commit comments