[libsigcplusplus] Make a comment easier to reformat.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] Make a comment easier to reformat.
- Date: Tue, 12 Apr 2016 07:28:17 +0000 (UTC)
commit ded414399934a74c47b7480e391edb95dffa6247
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Apr 12 09:27:57 2016 +0200
Make a comment easier to reformat.
sigc++/signal_base.cc | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/sigc++/signal_base.cc b/sigc++/signal_base.cc
index a16490f..8d7c357 100644
--- a/sigc++/signal_base.cc
+++ b/sigc++/signal_base.cc
@@ -190,11 +190,14 @@ signal_impl::notify(notifiable* d)
signal_exec exec(si->self_);
si->self_->slots_.erase(si->iter_);
}
- else // This is occuring during signal emission or slot erasure.
- si->self_->deferred_ =
- true; // => sweep() will be called from ~signal_exec() after signal emission.
- // This is safer because we don't have to care about our
- // iterators in emit(), clear(), and erase().
+ else
+ {
+ // This is occuring during signal emission or slot erasure.
+ // => sweep() will be called from ~signal_exec() after signal emission.
+ // This is safer because we don't have to care about our
+ // iterators in emit(), clear(), and erase().
+ si->self_->deferred_ = true;
+ }
}
} /* namespace internal */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]