]> git.tdb.fi Git - builder.git/blobdiff - source/lib/component.h
Rename some variables to avoid conflicts with C++20 keywords
[builder.git] / source / lib / component.h
index 7d9aa1af704e195efed112cbfbd08e3163f9e285..246bd44edd2e07c7fa1fedfb7cc8d7dcce1c1c3d 100644 (file)
@@ -40,7 +40,7 @@ protected:
        std::vector<std::string> overlays;
        bool install = false;
        BuildInfo build_info;
-       Package::Requirements requires;
+       Package::Requirements required_pkgs;
        bool deflt = true;
        InstallMap install_map;
        bool broken = false;
@@ -66,7 +66,7 @@ protected:
 public:
        bool get_install() const { return install; }
        const InstallMap &get_install_map() const { return install_map; }
-       const Package::Requirements &get_required_packages() const { return requires; }
+       const Package::Requirements &get_required_packages() const { return required_pkgs; }
        bool is_default() const { return deflt; }
        bool is_broken() const { return broken; }
        const std::vector<std::string> &get_problems() const { return problems; }