Skip to content

Commit

Permalink
Removed C++11 restriction on etl::observer::notification
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Aug 7, 2024
1 parent b38194c commit 81751db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/etl/observer.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ namespace etl
}
}

#if ETL_USING_CPP11
//*****************************************************************
/// Notify all of the observers, sending them the notification.
//*****************************************************************
Expand All @@ -271,7 +270,6 @@ namespace etl
++i_observer_item;
}
}
#endif

protected:

Expand All @@ -294,7 +292,7 @@ namespace etl
Observer_List observer_list;
};

#if ETL_USING_CPP11
#if ETL_USING_CPP11 && !defined(ETL_OBSERVER_FORCE_CPP03_IMPLEMENTATION)
template <typename... TTypes>
class observer;

Expand Down

0 comments on commit 81751db

Please sign in to comment.