mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
14 lines
244 B
Diff
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
|
|
|