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