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:
authorArsentiy Milchakov <milcars@mapswithme.com>2017-08-11 13:10:35 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2017-08-11 13:52:47 +0300
commit17365e286fe6db27024a6c36925e00b88141aef9 (patch)
treed9ddffc94877798faf95cdf478400af215151c24 /platform
parent95f744faff9bcd48138b575a40314efe43d8a0c8 (diff)
cmake fix
Diffstat (limited to 'platform')
-rw-r--r--platform/platform_linux.cpp5
-rw-r--r--platform/platform_qt.cpp5
2 files changed, 5 insertions, 5 deletions
diff --git a/platform/platform_linux.cpp b/platform/platform_linux.cpp
index a0863e758f..0f2712bec3 100644
--- a/platform/platform_linux.cpp
+++ b/platform/platform_linux.cpp
@@ -169,3 +169,8 @@ Platform::ChargingStatus Platform::GetChargingStatus()
{
return Platform::ChargingStatus::Plugged;
}
+
+void Platform::SetGuiThread(unique_ptr<base::TaskLoop> guiThread)
+{
+ m_guiThread = move(guiThread);
+}
diff --git a/platform/platform_qt.cpp b/platform/platform_qt.cpp
index 194722dbf6..a35dba7099 100644
--- a/platform/platform_qt.cpp
+++ b/platform/platform_qt.cpp
@@ -101,11 +101,6 @@ void Platform::RunAsync(TFunctor const & fn, Priority p)
}
#endif // defined(OMIM_OS_LINUX)
-void Platform::SetGuiThread(unique_ptr<base::TaskLoop> guiThread)
-{
- m_guiThread = move(guiThread);
-}
-
extern Platform & GetPlatform()
{
static Platform platform;