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