]> git.tdb.fi Git - builder.git/blobdiff - source/feature.h
Use default member initializers and constructor delegation
[builder.git] / source / feature.h
index f0134db8dbdb712d9b276d57addd4203a96359db..f8ec33471de5995e255e68c048a203e8ade78be2 100644 (file)
@@ -16,9 +16,9 @@ struct Feature
 
        std::string name;
        std::string description;
-       std::string default_value;
-       std::list<std::string> choices;
-       bool exported;
+       std::string default_value = "no";
+       std::vector<std::string> choices;
+       bool exported = false;
 
        Feature(const std::string &);
 };