diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-07-30 09:49:24 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:41:35 +0300 |
commit | 286d2870d06e79cc32814214346be4540d2a7276 (patch) | |
tree | 5f8491f5965d492e59cb4bdc211dde45f44e38ea /platform | |
parent | dd0e7716de6e7328d5dff6984737e858d03c3bb1 (diff) |
Warning fixes
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform.hpp | 2 | ||||
-rw-r--r-- | platform/platform_ios.mm | 2 | ||||
-rw-r--r-- | platform/platform_qt.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index ab9e8e98b6..a39d439181 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -135,4 +135,4 @@ public: string DefaultUrlsJSON() const; }; -extern "C" Platform & GetPlatform(); +extern Platform & GetPlatform(); diff --git a/platform/platform_ios.mm b/platform/platform_ios.mm index 26edf42938..c6824f29d0 100644 --- a/platform/platform_ios.mm +++ b/platform/platform_ios.mm @@ -198,7 +198,7 @@ void Platform::RunAsync(TFunctor const & fn, Priority p) } //////////////////////////////////////////////////////////////////////// -extern "C" Platform & GetPlatform() +extern Platform & GetPlatform() { static Platform platform; return platform; diff --git a/platform/platform_qt.cpp b/platform/platform_qt.cpp index ad93af0019..5913996265 100644 --- a/platform/platform_qt.cpp +++ b/platform/platform_qt.cpp @@ -59,7 +59,7 @@ int Platform::VideoMemoryLimit() const } /////////////////////////////////////////////////////////////////////////////// -extern "C" Platform & GetPlatform() +extern Platform & GetPlatform() { class PlatformQt : public Platform { |