summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/dispatcher/Client.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-06-13 14:16:45 -0400
committerJoe George <joe@zeroc.com>2016-06-13 14:16:45 -0400
commitc734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85 (patch)
treec0c227e57385a939354e7ed98876ef237f3fa8e0 /cpp/test/Ice/dispatcher/Client.cpp
parentRename Ice Touch references to Ice (diff)
downloadice-c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85.tar.bz2
ice-c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85.tar.xz
ice-c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85.zip
ICE-7179 - Update std::function code style
Diffstat (limited to 'cpp/test/Ice/dispatcher/Client.cpp')
-rw-r--r--cpp/test/Ice/dispatcher/Client.cpp6
1 files changed, 3 insertions, 3 deletions
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<void ()> call) :
+ DispatcherCall(function<void()> call) :
_call(move(call))
{
}
@@ -41,7 +41,7 @@ public:
private:
- function<void ()> _call;
+ function<void()> _call;
};
#endif
@@ -65,7 +65,7 @@ main(int argc, char* argv[])
#ifdef ICE_CPP11_MAPPING
Ice::DispatcherPtr dispatcher = new Dispatcher();
- initData.dispatcher = [=](function<void ()> call, const shared_ptr<Ice::Connection>& conn)
+ initData.dispatcher = [=](function<void()> call, const shared_ptr<Ice::Connection>& conn)
{
dispatcher->dispatch(new DispatcherCall(call), conn);
};