Skip to content

Commit

Permalink
Remove duplicate set_protect_running_kernel() method
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura authored and j-mracek committed Oct 17, 2023
1 parent eaf6a19 commit 9af6bc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libdnf5/rpm/solv/goal_private.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ class GoalPrivate {
/// PackageId.id == 0 => not set
/// PackageId.id == -1 => cannot be detected
PackageId get_protect_running_kernel() { return protected_running_kernel; };
/// Set running kernel that mus be not removed
void set_protect_running_kernel(PackageId value) { protected_running_kernel = value; };

// Get protected_packages. Running kernel is not included
const libdnf5::solv::SolvMap * get_protected_packages() { return protected_packages.get(); };
Expand All @@ -138,6 +136,7 @@ class GoalPrivate {
void set_protected_packages(const libdnf5::solv::SolvMap & map);
/// Reset all protected packages
void reset_protected_packages();
/// Set running kernel that mus be not removed
void set_protected_running_kernel(PackageId kernel) { protected_running_kernel = kernel; };
/// Set Ids of user-installed packages
void set_user_installed_packages(const libdnf5::solv::IdQueue & queue);
Expand Down

0 comments on commit 9af6bc2

Please sign in to comment.