diff options
Diffstat (limited to 'sigc++')
-rw-r--r-- | sigc++/functors/slot_base.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sigc++/functors/slot_base.cc b/sigc++/functors/slot_base.cc index 1281fb9..4c521a8 100644 --- a/sigc++/functors/slot_base.cc +++ b/sigc++/functors/slot_base.cc @@ -137,8 +137,7 @@ slot_base::slot_base(slot_base&& src) : rep_(nullptr), blocked_(src.blocked_) slot_base::~slot_base() { - if (rep_) - delete rep_; + delete rep_; } slot_base::operator bool() const noexcept |