Skip to content
Snippets Groups Projects
Verified Commit 2356c76a authored by Benny Baumann's avatar Benny Baumann
Browse files

chg: More visibility for std::enable_shared_from_this

parent 3db9a244
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -15,7 +15,7 @@ namespace rmrf::ui {
* It implements some basic information handling and a registry for
* views.
*/
class display : private std::enable_shared_from_this<display> {
class display : public std::enable_shared_from_this<display> {
public:
typedef display self_type;
typedef std::shared_ptr<self_type> ptr_type;
......
......@@ -14,7 +14,7 @@ namespace rmrf::ui {
/**
* This abstract class implements a view page.
*/
class view : public ui_context, private std::enable_shared_from_this<view> {
class view : public ui_context, public std::enable_shared_from_this<view> {
private:
std::shared_ptr<view> parent_view;
std::list<std::shared_ptr<view>> child_views;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment