[libsigc++2/variadic] test_disconnect: Use slot<> instead of slot1<>.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2/variadic] test_disconnect: Use slot<> instead of slot1<>.
- Date: Thu, 14 Jan 2016 11:55:28 +0000 (UTC)
commit 241f83b902b6a21c6975d0e10ffb73b6762753ff
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Jan 14 10:19:06 2016 +0100
test_disconnect: Use slot<> instead of slot1<>.
Because we are trying to remove slot1,2,3, etc.
tests/test_disconnect.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_disconnect.cc b/tests/test_disconnect.cc
index 44fd8e6..40a092a 100644
--- a/tests/test_disconnect.cc
+++ b/tests/test_disconnect.cc
@@ -139,7 +139,7 @@ int main(int argc, char* argv[])
{ // A slot# within a slot
A a2;
- sigc::slot1<int, int> setter = sigc::mem_fun(&a2, &A::foo);
+ sigc::slot<int, int> setter = sigc::mem_fun(&a2, &A::foo);
sig.connect(sigc::compose(setter, &foo));
result_stream << "sig is connected to compose(slot1(A::foo), foo) (size=" << sig.size() << "): ";
sig(9);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]