X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_smach.h;h=de00d6ddc4900d0cbf89192643b771141d226856;hb=0ec96dc9bd274f5c79f37d95ca0abcc24099217a;hp=876b6d4917054b4eca0bdd4dc48b210f41983acb;hpb=bbf05c1d5f53f61ec5b033c5c305a497d8389d46;p=synfig.git diff --git a/ETL/trunk/ETL/_smach.h b/ETL/trunk/ETL/_smach.h index 876b6d4..de00d6d 100644 --- a/ETL/trunk/ETL/_smach.h +++ b/ETL/trunk/ETL/_smach.h @@ -38,7 +38,7 @@ #ifdef _MSC_VER #pragma warning (disable:4786) -#pragma warning (disable:4290) // MSVC6 doesnt like function declarations with exception specs +#pragma warning (disable:4290) // MSVC6 doesn't like function declarations with exception specs #endif //#define ETL_MUTEX_LOCK() _mutex::lock lock(mutex) @@ -98,7 +98,7 @@ public: //! Event definition class template - class event_def + class event_def_internal { // List our friends friend class smach; @@ -118,11 +118,11 @@ public: public: //! Less-than operator for sorting. Based on event_key value. - bool operator<(const event_def &rhs)const + bool operator<(const event_def_internal &rhs)const { return id event_def; + typedef event_def_internal event_def; typedef T state_context_type; @@ -338,7 +338,7 @@ public: const state_base *prev_state=default_state; // If we are already in a state, leave it and - // colapse the state stack + // collapse the state stack if(default_state) default_state->leave_state(default_context); @@ -416,7 +416,7 @@ public: const state_base *prev_state=curr_state; // If we are already in a state, leave it and - // colapse the state stack + // collapse the state stack if(curr_state) egress();