]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/token.h
Cosmetic changes
[libs/datafile.git] / source / token.h
index ae4961947e6e3730359d5c8de4dbc761347469d5..cbf5882f605fd17b3c88913402c683b7c3e504ae 100644 (file)
@@ -1,12 +1,8 @@
-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2006  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
 #ifndef MSP_DATAFILE_TOKEN_H_
 #define MSP_DATAFILE_TOKEN_H_
 
+#include <string>
+
 namespace Msp {
 namespace DataFile {
 
@@ -21,10 +17,10 @@ struct Token
                SPECIAL
        };
 
-       Type type;
+       Type type = SPECIAL;
        std::string str;
 
-       Token(): type(SPECIAL) { }
+       Token() = default;
        Token(Type t, const std::string &s): type(t), str(s) { }
 };