[libsigc++2/variadic_bind2: 25/68] test_disconnect: Use slot<> instead of slot1<>.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2/variadic_bind2: 25/68] test_disconnect: Use slot<> instead of slot1<>.
- Date: Tue, 1 Mar 2016 21:45:49 +0000 (UTC)
commit 22134606bc34bed2b04f7c921b0581e0dec5a2a2
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]