Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2018-03-16 19:44:18 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2018-03-16 20:38:43 +0300
commitc6aaf72e4effeaae4102c41e25dcce162399f339 (patch)
tree2bfc7e36cb1c0ca87b68c33474ca3bc09fe51340 /platform/platform.hpp
parent405a3f2fb6a4f9c1e13bef687ddcbcacba1a9f39 (diff)
[search] Replaced MaybeRelevance with boost::optional<Relevance>.
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r--platform/platform.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp
index 1635eecb5a..a65420ab66 100644
--- a/platform/platform.hpp
+++ b/platform/platform.hpp
@@ -283,13 +283,13 @@ public:
switch (thread)
{
case Thread::File:
- m_fileThread->Push(forward<Task>(task));
+ m_fileThread->Push(std::forward<Task>(task));
break;
case Thread::Network:
- m_networkThread->Push(forward<Task>(task));
+ m_networkThread->Push(std::forward<Task>(task));
break;
case Thread::Gui:
- RunOnGuiThread(forward<Task>(task));
+ RunOnGuiThread(std::forward<Task>(task));
break;
}
}
@@ -301,10 +301,10 @@ public:
switch (thread)
{
case Thread::File:
- m_fileThread->PushDelayed(delay, forward<Task>(task));
+ m_fileThread->PushDelayed(delay, std::forward<Task>(task));
break;
case Thread::Network:
- m_networkThread->PushDelayed(delay, forward<Task>(task));
+ m_networkThread->PushDelayed(delay, std::forward<Task>(task));
break;
case Thread::Gui:
CHECK(false, ("Delayed tasks for gui thread are not supported yet"));