summaryrefslogtreecommitdiff
path: root/tests/test_size.cc
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-07-18 20:54:32 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-07-18 21:04:31 +0200
commit4fce962cd6599488381c997bbfcbb55c270b5a00 (patch)
tree295d8b27a34cef67d46cfc21903cbf225d8bf9c0 /tests/test_size.cc
parent264cfc06dbb26a3471900a3425bec336f4028405 (diff)
downloadsigc++-4fce962cd6599488381c997bbfcbb55c270b5a00.tar.gz
C++11: Use auto.
Trying to avoid using auto where its a specific type that we are trying to test for.
Diffstat (limited to 'tests/test_size.cc')
-rw-r--r--tests/test_size.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_size.cc b/tests/test_size.cc
index ce1f197..c902462 100644
--- a/tests/test_size.cc
+++ b/tests/test_size.cc
@@ -23,7 +23,7 @@ struct A
int main(int argc, char* argv[])
{
- TestUtilities* util = TestUtilities::get_instance();
+ auto util = TestUtilities::get_instance();
if (!util->check_command_args(argc, argv))
return util->get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;