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