diff --git a/src/backend/schedulable_list.hh b/src/backend/schedulable_list.hh index d56fc1e..fa5e6a8 100644 --- a/src/backend/schedulable_list.hh +++ b/src/backend/schedulable_list.hh @@ -30,16 +30,16 @@ namespace sgpem -{ +{ class SchedulableList; - + class SG_DLLEXPORT SchedulableList { public: SchedulableList(); bool operator==(const SchedulableList&) const; bool has_same_objects(const SchedulableList& dx) const; - + sgpem::SchedulableStatus* top(); sgpem::SchedulableStatus* bottom(); void add_at_bottom(const sgpem::SchedulableStatus&); @@ -54,7 +54,7 @@ namespace sgpem /** \brief This method swaps the element at positionA with * the one at positionB. * - * At the present moment, this function shouldn't throw any + * At the present moment, this function shouldn't throw any * exception, but just do nothing when the parameters don't * make sense (e.g. positionB > this.size()). * However, it should work the same either if positionA is greater @@ -64,12 +64,12 @@ namespace sgpem * \param positionA The position of the first element to swap * \param positionB The position of the second element to swap */ - void swap(unsigned int positionA, unsigned int positionB) throw() {} + void swap(unsigned int positionA, unsigned int positionB) throw(); private: std::list _list; }; - + }//~ namespace sgpem #endif //SCHEDULABLE_LIST_HH