]> git.stg.codes - stg.git/blobdiff - projects/stargazer/corps_impl.h
Moved common initialization code to a separate class method.
[stg.git] / projects / stargazer / corps_impl.h
index f19084f106967e2019b41ae5240b74565244a123..7bde401b1a3655ba6ab77849ed7ac790e0abb643 100644 (file)
@@ -55,18 +55,21 @@ public:
     int CloseSearch(int) const;
 
 private:
-    typedef list<CORP_CONF>::iterator       crp_iter;
-    typedef list<CORP_CONF>::const_iterator const_crp_iter;
+    CORPORATIONS_IMPL(const CORPORATIONS_IMPL & rvalue);
+    CORPORATIONS_IMPL & operator=(const CORPORATIONS_IMPL & rvalue);
+
+    typedef std::list<CORP_CONF>::iterator       crp_iter;
+    typedef std::list<CORP_CONF>::const_iterator const_crp_iter;
 
     bool Read();
 
     std::list<CORP_CONF> data;
-    STORE *                 store;
-    STG_LOGGER &            WriteServLog;
+    STORE * store;
+    STG_LOGGER & WriteServLog;
     mutable std::map<int, const_crp_iter> searchDescriptors;
-    mutable unsigned int    handle;
+    mutable unsigned int handle;
     mutable pthread_mutex_t mutex;
-    std::string             strError;
+    std::string strError;
 };
 
 #endif