]> git.stg.codes - stg.git/blobdiff - include/stg/corp_conf.h
Fight Optional
[stg.git] / include / stg / corp_conf.h
index 6b1cbb83342cc085be68c03e8779eaa5222887cb..8ff4094f6a40aaabd3089295164c86b40d66df2d 100644 (file)
@@ -20,9 +20,8 @@
 
 #pragma once
 
-#include "stg/optional.h"
-
 #include <string>
+#include <optional>
 
 namespace STG
 {
@@ -46,8 +45,8 @@ struct CorpConf
 
 struct CorpConfOpt
 {
-    Optional<std::string> name;
-    Optional<double>      cash;
+    std::optional<std::string> name;
+    std::optional<double>      cash;
 };
 
 }