summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2019-09-01 20:44:18 +0200
committerMurray Cumming <murrayc@murrayc.com>2019-09-01 20:44:18 +0200
commitc47ec07fbb4930f456174008b15e64e2b8a6ea59 (patch)
tree4ad2bc61931e88857b7ff1328afc985240172516 /tests
parentb2559b72ac42a90e5a1f4ee78a038d1552fc8888 (diff)
downloadsigc++-c47ec07fbb4930f456174008b15e64e2b8a6ea59.tar.gz
tests: Don't call static method via instance
Diffstat (limited to 'tests')
-rw-r--r--tests/test_hide.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_hide.cc b/tests/test_hide.cc
index 2a2ec21..c0a9911 100644
--- a/tests/test_hide.cc
+++ b/tests/test_hide.cc
@@ -42,7 +42,7 @@ main(int argc, char* argv[])
auto util = TestUtilities::get_instance();
if (!util->check_command_args(argc, argv))
- return util->get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;
+ return TestUtilities::get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;
result_stream << sigc::hide<0>(foo())(1, 2);
util->check_result(result_stream, "foo(int 2) 3");
@@ -59,5 +59,5 @@ main(int argc, char* argv[])
sigc::hide(foo_void())(1); // void test
util->check_result(result_stream, "foo_void()");
- return util->get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;
+ return TestUtilities::get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;
}