summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/dispatcher/Collocated.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/Collocated.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/Collocated.cpp')
-rw-r--r--cpp/test/Ice/dispatcher/Collocated.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/dispatcher/Collocated.cpp b/cpp/test/Ice/dispatcher/Collocated.cpp
index 59eb3490b94..a83ee20a446 100644
--- a/cpp/test/Ice/dispatcher/Collocated.cpp
+++ b/cpp/test/Ice/dispatcher/Collocated.cpp
@@ -44,7 +44,7 @@ class DispatcherCall : public Ice::DispatcherCall
{
public:
- DispatcherCall(function<void ()> call) :
+ DispatcherCall(function<void()> call) :
_call(move(call))
{
}
@@ -56,7 +56,7 @@ public:
private:
- function<void ()> _call;
+ function<void()> _call;
};
#endif
@@ -73,7 +73,7 @@ main(int argc, char* argv[])
initData.properties = Ice::createProperties(argc, 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);
};