Skip to content

Commit

Permalink
Prevent botched fix from clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Aug 19, 2024
1 parent 3a2c86d commit e3fb82a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ql/patterns/observable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace QuantLib {
friend class ObservableSettings;
public:
// constructors, assignment, destructor
Observable();
Observable() = default;
Observable(const Observable&);
Observable& operator=(const Observable&);
// delete the move operations because the semantics are not yet clear
Expand Down Expand Up @@ -158,8 +158,6 @@ namespace QuantLib {

// inline definitions

inline Observable::Observable() = default;

inline void ObservableSettings::registerDeferredObservers(const Observable::set_type& observers) {
if (updatesDeferred()) {
deferredObservers_.insert(observers.begin(), observers.end());
Expand Down

0 comments on commit e3fb82a

Please sign in to comment.