summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/factory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/factory.hpp')
-rw-r--r--include/mbgl/platform/factory.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/platform/factory.hpp b/include/mbgl/platform/factory.hpp
index d8615b424f..b9274457c0 100644
--- a/include/mbgl/platform/factory.hpp
+++ b/include/mbgl/platform/factory.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include <mbgl/platform/platform_run_loop.hpp>
+
#include <memory>
namespace mbgl {
@@ -21,9 +23,9 @@ public:
*
* @return the platform run loop.
*/
- static std::unique_ptr<PlatformRunLoop> runLoop();
+ static std::unique_ptr<PlatformRunLoop> createRunLoop();
PlatformFactory() = delete;
-}
+};
} // namespace mbgl