]> git.stg.codes - stg.git/blobdiff - projects/stargazer/admin_impl.h
Remove redindand ctors from USER_IPS.
[stg.git] / projects / stargazer / admin_impl.h
index 9a2b9781242a62eec4a06e8d82b776fec6a2732b..88f38eb434699722751f8a4ae97900e106fd7e82 100644 (file)
 #ifndef ADMIN_IMPL_H
 #define ADMIN_IMPL_H
 
 #ifndef ADMIN_IMPL_H
 #define ADMIN_IMPL_H
 
-#include <string>
-
 #include "stg/admin.h"
 #include "stg/os_int.h"
 #include "stg/admin_conf.h"
 #include "stg/admin.h"
 #include "stg/os_int.h"
 #include "stg/admin_conf.h"
-#include "stg/logger.h"
+
+#include <string>
 
 class ADMIN_IMPL : public ADMIN {
 public:
       ADMIN_IMPL();
 
 class ADMIN_IMPL : public ADMIN {
 public:
       ADMIN_IMPL();
-      ADMIN_IMPL(const ADMIN_CONF & ac);
+      explicit ADMIN_IMPL(const ADMIN_CONF & ac);
       ADMIN_IMPL(const PRIV & priv,
                  const std::string & login,
                  const std::string & password);
       ADMIN_IMPL(const PRIV & priv,
                  const std::string & login,
                  const std::string & password);
@@ -68,7 +67,6 @@ public:
 private:
       ADMIN_CONF        conf;
       uint32_t          ip;
 private:
       ADMIN_CONF        conf;
       uint32_t          ip;
-      STG_LOGGER &      WriteServLog;
 };
 
 #endif
 };
 
 #endif