X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftags%2Fstable%2FETL%2F_smach.h;h=99a7320472de952d09347ce018ec8806d29635cb;hb=5341f6b31c84503582f48aac574cfea6c49cfcb2;hp=992d09bba7dc2f630bafc646988b5f0414ed4956;hpb=26d279453f9f77f36658584e5d2b3dbbdf56b761;p=synfig.git diff --git a/ETL/tags/stable/ETL/_smach.h b/ETL/tags/stable/ETL/_smach.h index 992d09b..99a7320 100644 --- a/ETL/tags/stable/ETL/_smach.h +++ b/ETL/tags/stable/ETL/_smach.h @@ -4,6 +4,7 @@ ** $Id$ ** ** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -98,7 +99,7 @@ public: //! Event definition class template - class event_def + class event_def_internal { // List our friends friend class smach; @@ -118,11 +119,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;