1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/asymptote/fix-nullopt-not-declared.patch
2023-08-20 13:31:07 +00:00

14 lines
244 B
Diff

--- a/common.h
+++ b/common.h
@@ -38,6 +38,11 @@
using nonstd::optional;
using nonstd::nullopt;
using nonstd::make_optional;
+#else
+#include <optional>
+using std::optional;
+using std::nullopt;
+using std::make_optional;
#endif
#endif