X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Ftype.h;fp=source%2Ftype.h;h=0e371e632a9bb4b66aee10520e5aab300726675e;hp=151f2ca96624f1da495d41c4f1179c8b597599d1;hb=a2cce9e933089f483163456e9872e005c33dd678;hpb=f3279c1ff5f745905b0e4f282c10e2cac26227ce diff --git a/source/type.h b/source/type.h index 151f2ca..0e371e6 100644 --- a/source/type.h +++ b/source/type.h @@ -12,7 +12,7 @@ struct Symbol { std::string name; - Symbol() { } + Symbol() = default; template Symbol(const T &n): name(lexical_cast(n)) { }