Skip to content

Commit

Permalink
backend: Remove protected members from the BackEnd class
Browse files Browse the repository at this point in the history
This class will not be derived, so replace the protected definitions
with private ones.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed May 1, 2024
1 parent 45bb6b2 commit 1f87a91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libpisp/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class BackEnd
return mutex_.try_lock();
}

protected:
private:
struct BeConfigExtra
{
// Non-register fields:
Expand Down Expand Up @@ -183,7 +183,6 @@ class BackEnd
std::vector<SmartResize> smart_resize_;
uint32_t smart_resize_dirty_;

private:
// Default config
std::map<std::string, pisp_be_ccm_config> ycbcr_map_;
std::map<std::string, pisp_be_ccm_config> inverse_ycbcr_map_;
Expand Down

0 comments on commit 1f87a91

Please sign in to comment.