X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvalue.cpp;fp=source%2Fvalue.cpp;h=0000000000000000000000000000000000000000;hb=98f563736e0837a429714b98656215503c607710;hp=6d5e0320fb23c6bd8d8e7fbaf95dd32fdb2448ed;hpb=52b69f7841d3b2ca0bb83c04214f30c7d1c6a615;p=libs%2Fdatafile.git diff --git a/source/value.cpp b/source/value.cpp deleted file mode 100644 index 6d5e032..0000000 --- a/source/value.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* -This file is part of libmspparser -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ -#include -#include "value.h" - -namespace Msp { -namespace Parser { - -template<> -std::string Value::get() const -{ - if(type!=STRING) - throw TypeError("Value is not a string"); - return data; -} - -template<> -const std::string &Value::get() const -{ - if(type!=STRING) - throw TypeError("Value is not a string"); - return data; -} - -} // namespace Msp -} // namespace Parser