X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Ftype.h;h=f40657eb14a07003a295cb979ae4813523183d17;hp=17545bae23ef0922669583344097a65c3e3e04cd;hb=3b78eeb8b92dc3524d6a0456b4daf0a0f3dbf813;hpb=a82776d980239e48d2b509d33b56e77a1ea44dda diff --git a/source/type.h b/source/type.h index 17545ba..f40657e 100644 --- a/source/type.h +++ b/source/type.h @@ -11,6 +11,8 @@ struct Symbol { std::string name; + Symbol() { } + template Symbol(const T &n): name(lexical_cast(n)) { }