X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftag.h;h=ac31bce6839677620a96725dd11bc214c95132df;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=b2d4fd512b9a10c4c777950eda43ed8943005b9e;hpb=19583522999f9ca2cddb178691633bc20f714b01;p=libs%2Fgl.git diff --git a/source/tag.h b/source/tag.h index b2d4fd51..ac31bce6 100644 --- a/source/tag.h +++ b/source/tag.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_TAG_H_ #define MSP_GL_TAG_H_ @@ -20,6 +13,9 @@ struct Tag Tag(): id(0) { } Tag(const char *); Tag(const std::string &s); + + bool operator<(const Tag &t) const { return id