[libsigcplusplus/variadic_mem_fun3: 40/148] test_disconnect: Use slot<> instead of slot1<>.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus/variadic_mem_fun3: 40/148] test_disconnect: Use slot<> instead of slot1<>.
- Date: Mon, 7 Mar 2016 10:01:09 +0000 (UTC)
commit 038c13f2e64db319e0ecb0eb849c5642839bbc66
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]