diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-01-14 12:54:33 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-01-14 12:54:33 +0100 |
commit | 96849891aaa0309406bd873823451a0ebe836db4 (patch) | |
tree | 4b845479426112b49832062ae38d331ce07d1daf | |
parent | 3e8b84cde569b614c33453e7f0c776eb74550d76 (diff) | |
download | sigc++-96849891aaa0309406bd873823451a0ebe836db4.tar.gz |
test_acum_iter: Replace signal_accumulated with signal<>::accumulated.
I've never noticed this sub-template before, but this syntax is
arguably nicer.
-rw-r--r-- | tests/test_accum_iter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_accum_iter.cc b/tests/test_accum_iter.cc index 00f222d..b5947ec 100644 --- a/tests/test_accum_iter.cc +++ b/tests/test_accum_iter.cc @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) if (!util->check_command_args(argc, argv)) return util->get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE; - sigc::signal_with_accumulator<int, min_accum<int> > signal; + sigc::signal<int>::accumulated<min_accum<int>> signal; signal.connect(sigc::bind(sigc::ptr_fun(ident), 3)); signal.connect(sigc::bind(sigc::ptr_fun(ident), 1)); |