]> git.stg.codes - stg.git/blobdiff - include/stg/admin_conf.h
Fix build on Darwin.
[stg.git] / include / stg / admin_conf.h
index 8531647e055f8a10bf39f239441788315b872828..b402e2417c36d4a5f27e331783e93a5e43657096 100644 (file)
@@ -1,8 +1,7 @@
 #pragma once
 
-#include "stg/optional.h"
-
 #include <string>
+#include <optional>
 
 #include <cstdint>
 
@@ -78,9 +77,9 @@ struct AdminConf
 //-----------------------------------------------------------------------------
 struct AdminConfOpt
 {
-    Optional<Priv> priv;
-    Optional<std::string> login;
-    Optional<std::string> password;
+    std::optional<Priv> priv;
+    std::optional<std::string> login;
+    std::optional<std::string> password;
 };
 
 }