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/dispatcher/Client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/test/Ice/dispatcher/Client.cpp') diff --git a/cpp/test/Ice/dispatcher/Client.cpp b/cpp/test/Ice/dispatcher/Client.cpp index 3c4e1735e01..b94e3199616 100644 --- a/cpp/test/Ice/dispatcher/Client.cpp +++ b/cpp/test/Ice/dispatcher/Client.cpp @@ -29,7 +29,7 @@ class DispatcherCall : public Ice::DispatcherCall { public: - DispatcherCall(function call) : + DispatcherCall(function call) : _call(move(call)) { } @@ -41,7 +41,7 @@ public: private: - function _call; + function _call; }; #endif @@ -65,7 +65,7 @@ main(int argc, char* argv[]) #ifdef ICE_CPP11_MAPPING Ice::DispatcherPtr dispatcher = new Dispatcher(); - initData.dispatcher = [=](function call, const shared_ptr& conn) + initData.dispatcher = [=](function call, const shared_ptr& conn) { dispatcher->dispatch(new DispatcherCall(call), conn); }; -- cgit v1.2.3