]> git.stg.codes - stg.git/blobdiff - projects/stargazer/admins_impl.h
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / admins_impl.h
index 7434c44567dd9153e1f0d79c05c03e0d863bed59..03aa4ece97ed9a14463e9c511d66ed928635d6ea 100644 (file)
 #ifndef ADMINS_IMPL_H
 #define ADMINS_IMPL_H
 
-#include <pthread.h>
-
-#include <list>
-#include <map>
-#include <string>
+#include "admin_impl.h"
 
 #include "stg/admins.h"
 #include "stg/admin.h"
 #include "stg/store.h"
 #include "stg/noncopyable.h"
 #include "stg/logger.h"
-#include "admin_impl.h"
+
+#include <list>
+#include <map>
+#include <string>
+
+#include <pthread.h>
 
 class ADMINS_IMPL : private NONCOPYABLE, public ADMINS {
 public:
-    ADMINS_IMPL(STORE * st);
+    explicit ADMINS_IMPL(STORE * st);
     virtual ~ADMINS_IMPL() {}
 
     int           Add(const std::string & login, const ADMIN * admin);