]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_admins.h
Complete replacement notifiers with subscriptions.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_admins.h
index efad0d63d7510144835fe87fadb739002b5e0aad..4a6924bd614e7cd1fbde4ad0bfa7ea3847fa3dfc 100644 (file)
@@ -24,9 +24,9 @@
 #include "parser.h"
 
 #include "stg/common.h"
 #include "parser.h"
 
 #include "stg/common.h"
-#include "stg/optional.h"
 
 #include <string>
 
 #include <string>
+#include <optional>
 
 namespace STG
 {
 
 namespace STG
 {
@@ -138,8 +138,8 @@ class CHG_ADMIN: public BASE_PARSER
 
     private:
         std::string login;
 
     private:
         std::string login;
-        Optional<std::string> password;
-        Optional<std::string> privAsString;
+        std::optional<std::string> password;
+        std::optional<std::string> privAsString;
         Admins & m_admins;
 
         void CreateAnswer() override;
         Admins & m_admins;
 
         void CreateAnswer() override;