Skip to content

Commit

Permalink
Merge pull request #211 from TheCoconutChef/fix-missing-virtual-dtor
Browse files Browse the repository at this point in the history
fix missing virtual dtor on observable_reader_node
  • Loading branch information
arximboldi authored Sep 18, 2024
2 parents 62aed89 + e6dd1e2 commit 3f68361
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lager/detail/nodes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct notifying_guard_t
* Interface for nodes capable of notifying observers.
*/
template <typename T>
class observable_reader_node
class observable_reader_node : public reader_node_base
{
public:
using value_type = T;
Expand Down Expand Up @@ -186,9 +186,7 @@ class observable_reader_node
* functionality for setting values and propagating them to children.
*/
template <typename T>
class reader_node
: public reader_node_base
, public observable_reader_node<T>
class reader_node : public observable_reader_node<T>
{
public:
using value_type = typename observable_reader_node<T>::value_type;
Expand Down

0 comments on commit 3f68361

Please sign in to comment.