]> git.tdb.fi Git - builder.git/blobdiff - source/component.h
Use default member initializers and constructor delegation
[builder.git] / source / component.h
index bde558d6281facab3d935a0384898c7797eb0dfa..5479cc5a1aa71d86ed163f73ec8e6a5c3c4bfb3b 100644 (file)
@@ -37,10 +37,10 @@ protected:
        std::string name;
        std::vector<Msp::FS::Path> sources;
        std::vector<std::string> overlays;
-       bool install;
+       bool install = false;
        BuildInfo build_info;
        Package::Requirements requires;
-       bool deflt;
+       bool deflt = true;
        InstallMap install_map;
        std::vector<std::string> problems;