From c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85 Mon Sep 17 00:00:00 2001 From: Joe George Date: Mon, 13 Jun 2016 14:16:45 -0400 Subject: ICE-7179 - Update std::function code style --- cpp/test/Ice/exceptions/TestAMDI.cpp | 100 +++++++++++++++++------------------ 1 file changed, 50 insertions(+), 50 deletions(-) (limited to 'cpp/test/Ice/exceptions/TestAMDI.cpp') diff --git a/cpp/test/Ice/exceptions/TestAMDI.cpp b/cpp/test/Ice/exceptions/TestAMDI.cpp index deb949defee..873494443cc 100644 --- a/cpp/test/Ice/exceptions/TestAMDI.cpp +++ b/cpp/test/Ice/exceptions/TestAMDI.cpp @@ -30,8 +30,8 @@ ThrowerI::ThrowerI() #ifdef ICE_CPP11_MAPPING void -ThrowerI::shutdownAsync(function response, - function, +ThrowerI::shutdownAsync(function response, + function, const Ice::Current& current) { current.adapter->getCommunicator()->shutdown(); @@ -39,16 +39,16 @@ ThrowerI::shutdownAsync(function response, } void -ThrowerI::supportsUndeclaredExceptionsAsync(function response, - function, +ThrowerI::supportsUndeclaredExceptionsAsync(function response, + function, const Ice::Current&) { response(true); } void -ThrowerI::supportsAssertExceptionAsync(function response, - function, +ThrowerI::supportsAssertExceptionAsync(function response, + function, const Ice::Current&) { response(false); @@ -56,8 +56,8 @@ ThrowerI::supportsAssertExceptionAsync(function response, void ThrowerI::throwAasAAsync(int a, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -74,8 +74,8 @@ ThrowerI::throwAasAAsync(int a, void ThrowerI::throwAorDasAorDAsync(int a, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -101,8 +101,8 @@ ThrowerI::throwAorDasAorDAsync(int a, void ThrowerI::throwBasAAsync(int a, int b, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -120,8 +120,8 @@ ThrowerI::throwBasAAsync(int a, int b, void ThrowerI::throwCasAAsync(int a, int b, int c, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -140,8 +140,8 @@ ThrowerI::throwCasAAsync(int a, int b, int c, void ThrowerI::throwBasBAsync(int a, int b, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -159,8 +159,8 @@ ThrowerI::throwBasBAsync(int a, int b, void ThrowerI::throwCasBAsync(int a, int b, int c, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -179,8 +179,8 @@ ThrowerI::throwCasBAsync(int a, int b, int c, void ThrowerI::throwCasCAsync(int a, int b, int c, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -199,8 +199,8 @@ ThrowerI::throwCasCAsync(int a, int b, int c, void ThrowerI::throwModAAsync(int a, int a2, - function, - function exception, + function, + function exception, const Ice::Current&) { Mod::A ex; @@ -211,8 +211,8 @@ ThrowerI::throwModAAsync(int a, int a2, void ThrowerI::throwUndeclaredAAsync(int a, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -229,8 +229,8 @@ ThrowerI::throwUndeclaredAAsync(int a, void ThrowerI::throwUndeclaredBAsync(int a, int b, - function, - function, + function, + function, const Ice::Current&) { B ex; @@ -241,8 +241,8 @@ ThrowerI::throwUndeclaredBAsync(int a, int b, void ThrowerI::throwUndeclaredCAsync(int a, int b, int c, - function, - function exception, + function, + function exception, const Ice::Current&) { try @@ -260,8 +260,8 @@ ThrowerI::throwUndeclaredCAsync(int a, int b, int c, } void -ThrowerI::throwLocalExceptionAsync(function, - function exception, +ThrowerI::throwLocalExceptionAsync(function, + function exception, const Ice::Current&) { try @@ -275,8 +275,8 @@ ThrowerI::throwLocalExceptionAsync(function, } void -ThrowerI::throwNonIceExceptionAsync(function, - function exception, +ThrowerI::throwNonIceExceptionAsync(function, + function exception, const Ice::Current&) { try @@ -290,8 +290,8 @@ ThrowerI::throwNonIceExceptionAsync(function, } void -ThrowerI::throwAssertExceptionAsync(function, - function, +ThrowerI::throwAssertExceptionAsync(function, + function, const Ice::Current&) { assert(false); // No supported in C++ @@ -299,16 +299,16 @@ ThrowerI::throwAssertExceptionAsync(function, void ThrowerI::throwMemoryLimitExceptionAsync(ICE_IN(Ice::ByteSeq), - function response, - function, + function response, + function, const Ice::Current&) { response(Ice::ByteSeq(1024 * 20)); // 20 KB. } void -ThrowerI::throwLocalExceptionIdempotentAsync(function, - function exception, +ThrowerI::throwLocalExceptionIdempotentAsync(function, + function exception, const Ice::Current&) { try @@ -323,8 +323,8 @@ ThrowerI::throwLocalExceptionIdempotentAsync(function, } void -ThrowerI::throwAfterResponseAsync(function response, - function, +ThrowerI::throwAfterResponseAsync(function response, + function, const Ice::Current&) { response(); @@ -333,8 +333,8 @@ ThrowerI::throwAfterResponseAsync(function response, } void -ThrowerI::throwAfterExceptionAsync(function, - function exception, +ThrowerI::throwAfterExceptionAsync(function, + function exception, const Ice::Current&) { try @@ -349,8 +349,8 @@ ThrowerI::throwAfterExceptionAsync(function, } void -ThrowerI::throwEAsync(function, - function exception, +ThrowerI::throwEAsync(function, + function exception, const Ice::Current&) { try @@ -364,8 +364,8 @@ ThrowerI::throwEAsync(function, } void -ThrowerI::throwFAsync(function, - function exception, +ThrowerI::throwFAsync(function, + function exception, const Ice::Current&) { try @@ -379,8 +379,8 @@ ThrowerI::throwFAsync(function, } void -ThrowerI::throwGAsync(function, - function exception, +ThrowerI::throwGAsync(function, + function exception, const Ice::Current&) { try @@ -398,8 +398,8 @@ ThrowerI::throwGAsync(function, } void -ThrowerI::throwHAsync(function, - function exception, +ThrowerI::throwHAsync(function, + function exception, const Ice::Current&) { try -- cgit v1.2.3