Fix pedantic errors: extra ';'

This commit is contained in:
Laurent Rineau 2010-12-10 10:00:40 +00:00
parent 905e082066
commit 3c110e9771
4 changed files with 8 additions and 8 deletions

View File

@ -72,7 +72,7 @@ class Enclosing_box_2: public Ref_counted<Enclosing_box_2<Traits> >
typedef typename Traits::Kinetic_kernel Kinetic_kernel; typedef typename Traits::Kinetic_kernel Kinetic_kernel;
typedef typename Traits::Active_points_2_table Active_points_2_table; typedef typename Traits::Active_points_2_table Active_points_2_table;
CGAL_KINETIC_DECLARE_AOT_LISTENER(typename Active_points_2_table); CGAL_KINETIC_DECLARE_AOT_LISTENER(typename Active_points_2_table)
//typedef typename CGAL::Kinetic::Active_objects_listener_helper<typename Active_points_2_table::Listener, This> Active_points_2_table_listener; //typedef typename CGAL::Kinetic::Active_objects_listener_helper<typename Active_points_2_table::Listener, This> Active_points_2_table_listener;
//friend class CGAL::Kinetic::Active_objects_listener_helper<typename Active_points_2_table::Listener, This>; //friend class CGAL::Kinetic::Active_objects_listener_helper<typename Active_points_2_table::Listener, This>;
@ -100,7 +100,7 @@ public:
CGAL_LOG(Log::SOME, "Constructed box with sides [" << bounds_[LEFT] << "..." << bounds_[RIGHT] CGAL_LOG(Log::SOME, "Constructed box with sides [" << bounds_[LEFT] << "..." << bounds_[RIGHT]
<< "]x[" << bounds_[BOTTOM] << "..." << bounds_[TOP] << "]" << std::endl); << "]x[" << bounds_[BOTTOM] << "..." << bounds_[TOP] << "]" << std::endl);
CGAL_KINETIC_INITIALIZE_AOT_LISTENER(tr.active_points_2_table_handle()); CGAL_KINETIC_INITIALIZE_AOT_LISTENER(tr.active_points_2_table_handle());
}; }
~Enclosing_box_2() { ~Enclosing_box_2() {
for (typename std::map<Point_key, Event_key>::iterator it= certs_.begin(); it!= certs_.end(); ++it) { for (typename std::map<Point_key, Event_key>::iterator it= certs_.begin(); it!= certs_.end(); ++it) {

View File

@ -52,7 +52,7 @@ protected:
// friend class CGAL::Kinetic::Simulator_objects_listener<Simulator_listener, This>; // friend class CGAL::Kinetic::Simulator_objects_listener<Simulator_listener, This>;
typedef typename Traits::Static_kernel::FT NT; typedef typename Traits::Static_kernel::FT NT;
//class Guil; //class Guil;
CGAL_KINETIC_LISTEN1(Simulator, DIRECTION_OF_TIME, reverse_time()); CGAL_KINETIC_LISTEN1(Simulator, DIRECTION_OF_TIME, reverse_time())
public: public:
//typedef typename CGAL::Ref_counted_pointer<This> Pointer; //typedef typename CGAL::Ref_counted_pointer<This> Pointer;
//typedef typename CGAL::Const_ref_counted_pointer<This> Const_handle; //typedef typename CGAL::Const_ref_counted_pointer<This> Const_handle;
@ -133,7 +133,7 @@ public:
}*/ }*/
protected: protected:
CGAL_KINETIC_LISTEN1(GUI,PICTURE_IS_VALID, draw()); CGAL_KINETIC_LISTEN1(GUI,PICTURE_IS_VALID, draw())
/*class Guil: public Gui_listener /*class Guil: public Gui_listener
{ {
typedef Gui_listener P; typedef Gui_listener P;

View File

@ -45,7 +45,7 @@ class Qt_triangulation_2: public Ref_counted<Qt_triangulation_2<KDel, IK, Qt_gui
typedef typename Triangulation::Edge Edge; typedef typename Triangulation::Edge Edge;
// maybe icl wants the class definition before the useage. // maybe icl wants the class definition before the useage.
CGAL_KINETIC_LISTEN1(Qt_gui, PICTURE_IS_VALID, draw()); CGAL_KINETIC_LISTEN1(Qt_gui, PICTURE_IS_VALID, draw())
public: public:

View File

@ -78,10 +78,10 @@ public:
//! The base class for listeners for events. //! The base class for listeners for events.
typedef Multi_listener<Listener_core> Listener; typedef Multi_listener<Listener_core> Listener;
friend class Multi_listener<Listener_core>;*/ friend class Multi_listener<Listener_core>;*/
CGAL_KINETIC_LISTEN1(Qt_widget, PICTURE_IS_CURRENT, draw()); CGAL_KINETIC_LISTEN1(Qt_widget, PICTURE_IS_CURRENT, draw())
CGAL_KINETIC_LISTEN1(Graphical_base, CURRENT_TIME, widget().set_picture_is_current(false)); CGAL_KINETIC_LISTEN1(Graphical_base, CURRENT_TIME, widget().set_picture_is_current(false))
CGAL_KINETIC_MULTILISTENER1(PICTURE_IS_VALID); CGAL_KINETIC_MULTILISTENER1(PICTURE_IS_VALID)
public: public:
typedef Simulator_t Simulator; typedef Simulator_t Simulator;
//typedef Const_ref_counted_pointer<This> Const_point; //typedef Const_ref_counted_pointer<This> Const_point;