From: Maxim Mamontov Date: Sun, 13 Nov 2011 20:44:58 +0000 (+0200) Subject: Extra semicolon removed X-Git-Tag: 2.408~50 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/2e156849682416761ec77e6ec8cfa4ef4b47c35f Extra semicolon removed --- diff --git a/projects/stargazer/actions.inl.h b/projects/stargazer/actions.inl.h index d7874373..1a810228 100644 --- a/projects/stargazer/actions.inl.h +++ b/projects/stargazer/actions.inl.h @@ -18,7 +18,7 @@ ACTIONS_LIST::ACTIONS_LIST() : mutex() { pthread_mutex_init(&mutex, NULL); -}; +} // Delete all actions before deleting list inline @@ -36,56 +36,56 @@ ACTIONS_LIST::~ACTIONS_LIST() } pthread_mutex_destroy(&mutex); -}; +} inline ACTIONS_LIST::parent::iterator ACTIONS_LIST::begin() { STG_LOCKER lock(&mutex, __FILE__, __LINE__); return parent::begin(); -}; +} inline ACTIONS_LIST::parent::iterator ACTIONS_LIST::end() { STG_LOCKER lock(&mutex, __FILE__, __LINE__); return parent::end(); -}; +} inline ACTIONS_LIST::parent::const_iterator ACTIONS_LIST::begin() const { STG_LOCKER lock(&mutex, __FILE__, __LINE__); return parent::begin(); -}; +} inline ACTIONS_LIST::parent::const_iterator ACTIONS_LIST::end() const { STG_LOCKER lock(&mutex, __FILE__, __LINE__); return parent::end(); -}; +} inline bool ACTIONS_LIST::empty() const { STG_LOCKER lock(&mutex, __FILE__, __LINE__); return parent::empty(); -}; +} inline size_t ACTIONS_LIST::size() const { STG_LOCKER lock(&mutex, __FILE__, __LINE__); return parent::size(); -}; +} inline void ACTIONS_LIST::swap(ACTIONS_LIST & list) { STG_LOCKER lock(&mutex, __FILE__, __LINE__); parent::swap(list); -}; +} template inline @@ -106,6 +106,6 @@ std::for_each( parent::end(), std::mem_fun(&BASE_ACTION::Invoke) ); -}; +} #endif