]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tag.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / tag.h
index b2d4fd512b9a10c4c777950eda43ed8943005b9e..ac31bce6839677620a96725dd11bc214c95132df 100644 (file)
@@ -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<t.id; }
+       bool operator==(const Tag &t) const { return id==t.id; }
 };
 
 } // namespace GL