summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/repstress/Control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceStorm/repstress/Control.cpp')
-rw-r--r--cpp/test/IceStorm/repstress/Control.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceStorm/repstress/Control.cpp b/cpp/test/IceStorm/repstress/Control.cpp
index 1f63f5bf4dc..c8da41bf746 100644
--- a/cpp/test/IceStorm/repstress/Control.cpp
+++ b/cpp/test/IceStorm/repstress/Control.cpp
@@ -10,11 +10,11 @@ using namespace std;
using namespace Ice;
using namespace Test;
-class Control : public Test::TestHelper
+class Control final : public Test::TestHelper
{
public:
- void run(int, char**);
+ void run(int, char**) override;
};
void
@@ -28,7 +28,7 @@ Control::run(int argc, char** argv)
throw invalid_argument(os.str());
}
- ControllerPrx control = ControllerPrx::uncheckedCast(communicator->stringToProxy(argv[1]));
+ auto control = uncheckedCast<ControllerPrx>(communicator->stringToProxy(argv[1]));
control->stop();
}