From: Joel Holdsworth Date: Sun, 2 Nov 2014 19:05:33 +0000 (+0000) Subject: RowItem: Derrive from std::enable_shared_from_this X-Git-Tag: pulseview-0.3.0~456 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=dc747705ac06c9e9ab582b6b8b7cfc31003128e0;p=pulseview.git RowItem: Derrive from std::enable_shared_from_this --- diff --git a/pv/view/rowitem.h b/pv/view/rowitem.h index 6b23162f..2133db87 100644 --- a/pv/view/rowitem.h +++ b/pv/view/rowitem.h @@ -21,6 +21,8 @@ #ifndef PULSEVIEW_PV_VIEW_HEADERITEM_H #define PULSEVIEW_PV_VIEW_HEADERITEM_H +#include + #include "selectableitem.h" namespace pv { @@ -28,7 +30,8 @@ namespace view { class RowItemOwner; -class RowItem : public SelectableItem +class RowItem : public SelectableItem, + public std::enable_shared_from_this { Q_OBJECT