X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftag.cpp;h=c5824aec4e114d60b04c53acd00ae2b54072f7fe;hp=8e29bee1f3eba6f97665bc9abd0e3fb60dd24d99;hb=HEAD;hpb=19583522999f9ca2cddb178691633bc20f714b01 diff --git a/source/tag.cpp b/source/tag.cpp deleted file mode 100644 index 8e29bee1..00000000 --- a/source/tag.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#include "tag.h" - -namespace Msp { -namespace GL { - -Tag::Tag(const char *s): - id(0) -{ - for(const char *i=s; *i; ++i) - id=id*id+*i; -} - -Tag::Tag(const std::string &s): - id(0) -{ - for(std::string::const_iterator i=s.begin(); i!=s.end(); ++i) - id=id*id+*i; -} - -} // namespace GL -} // namespace Msp