[libsigcplusplus] slot_rep: Make =deleted operations public.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] slot_rep: Make =deleted operations public.
- Date: Fri, 15 Apr 2016 06:57:24 +0000 (UTC)
commit 23c48b1044a786fc91350f1da75d56fba79ba33b
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 15 08:37:53 2016 +0200
slot_rep: Make =deleted operations public.
It doesn't really make sense for these to be private.
sigc++/functors/slot_base.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sigc++/functors/slot_base.h b/sigc++/functors/slot_base.h
index 286f301..d6466f5 100644
--- a/sigc++/functors/slot_base.h
+++ b/sigc++/functors/slot_base.h
@@ -54,6 +54,7 @@ using hook = void* (*)(void*);
*/
struct SIGC_API slot_rep : public trackable
{
+public:
slot_rep(const slot_rep& src) = delete;
slot_rep& operator=(const slot_rep& src) = delete;
@@ -65,7 +66,6 @@ struct SIGC_API slot_rep : public trackable
* down dereferencing of slot list iterators. Martin. */
// TODO: Try this now? murrayc.
-public:
using hook_dup = slot_rep* (*)(slot_rep*);
inline slot_rep(hook call__, notifiable::func_destroy_notify destroy__, hook_dup dup__) noexcept
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]