From 48f9b28634908c43a23c30e219a9abfb038c1539 Mon Sep 17 00:00:00 2001 From: Joe George Date: Wed, 3 Feb 2021 11:16:06 -0500 Subject: Additional C++11 fixes --- cpp/test/IceGrid/update/Client.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/test/IceGrid/update/Client.cpp') diff --git a/cpp/test/IceGrid/update/Client.cpp b/cpp/test/IceGrid/update/Client.cpp index 0d88f5c27be..91e32f73e0d 100644 --- a/cpp/test/IceGrid/update/Client.cpp +++ b/cpp/test/IceGrid/update/Client.cpp @@ -8,18 +8,18 @@ using namespace std; -class Client : public Test::TestHelper +class Client final : public Test::TestHelper { public: - void run(int, char**); + void run(int, char**) override; }; void Client::run(int argc, char** argv) { - Ice::CommunicatorHolder communicator = initialize(argc, argv); - communicator->getProperties()->parseCommandLineOptions("", Ice::argsToStringSeq(argc, argv)); + Ice::CommunicatorHolder communicatorHolder = initialize(argc, argv); + communicatorHolder->getProperties()->parseCommandLineOptions("", Ice::argsToStringSeq(argc, argv)); void allTests(Test::TestHelper*); allTests(this); } -- cgit v1.2.3