diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-01-24 11:18:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-01-24 11:18:58 +0200 |
commit | cf000a2eba6d3913cc765df9988ab060f6026c98 (patch) | |
tree | 64a2da9b1584d310511db6a1619cf6462fb62250 /bpkg/system-package-manager.hxx | |
parent | 04d7db5a83ac8c66a1543611be18180d9fbb20d2 (diff) |
Get rid of polymorphism/unique_ptr in system_package_status
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r-- | bpkg/system-package-manager.hxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx index d91bce5..cfe5576 100644 --- a/bpkg/system-package-manager.hxx +++ b/bpkg/system-package-manager.hxx @@ -79,9 +79,8 @@ namespace bpkg // So for now we keep it simple and pick a single available version but can // probably revise this decision later. // - class system_package_status + struct system_package_status { - public: // Downstream (as in, bpkg package) version. // bpkg::version version; @@ -103,12 +102,6 @@ namespace bpkg enum status_type {installed, partially_installed, not_installed}; status_type status = not_installed; - - public: - virtual - ~system_package_status (); - - system_package_status () = default; }; class system_package_manager |