X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5ff8211bdcd5f110621c0ff01fa0854b5e6d9762..64467fb06c680a7ff9bd863333fb0686a10e50be:/projects/stargazer/corps_impl.h?ds=sidebyside diff --git a/projects/stargazer/corps_impl.h b/projects/stargazer/corps_impl.h index e4552424..a685ad46 100644 --- a/projects/stargazer/corps_impl.h +++ b/projects/stargazer/corps_impl.h @@ -15,18 +15,12 @@ */ /* - * Author : Maxim Mamontov + * Author : Maksym Mamontov */ #ifndef CORPORATIONS_IMPL_H #define CORPORATIONS_IMPL_H -#include - -#include -#include -#include - #include "stg/corporations.h" #include "stg/corp_conf.h" #include "stg/locker.h" @@ -34,11 +28,17 @@ #include "stg/noncopyable.h" #include "stg/logger.h" +#include +#include +#include + +#include + class ADMIN; class CORPORATIONS_IMPL : private NONCOPYABLE, public CORPORATIONS { public: - CORPORATIONS_IMPL(STORE * st); + explicit CORPORATIONS_IMPL(STORE * st); virtual ~CORPORATIONS_IMPL() {} int Add(const CORP_CONF & corp, const ADMIN * admin); @@ -58,8 +58,8 @@ private: CORPORATIONS_IMPL(const CORPORATIONS_IMPL & rvalue); CORPORATIONS_IMPL & operator=(const CORPORATIONS_IMPL & rvalue); - typedef list::iterator crp_iter; - typedef list::const_iterator const_crp_iter; + typedef std::list::iterator crp_iter; + typedef std::list::const_iterator const_crp_iter; bool Read();