Commit d8ef452e authored by Alex Choi's avatar Alex Choi Committed by Andrew Twyman

Added missing std:: in platform_threads_impl (#321)

parent e54dab66
...@@ -48,7 +48,7 @@ public: ...@@ -48,7 +48,7 @@ public:
* it starts, before calling the normal ThreadFunc. * it starts, before calling the normal ThreadFunc.
*/ */
CppPlatformThreadsGeneric(std::function<void()> func_on_thread_start) CppPlatformThreadsGeneric(std::function<void()> func_on_thread_start)
: m_func_on_thread_start(make_shared<std::function<void()>>(std::move(func_on_thread_start))) {} : m_func_on_thread_start(std::make_shared<std::function<void()>>(std::move(func_on_thread_start))) {}
/** Creates and starts a new thread which will call the given function. */ /** Creates and starts a new thread which will call the given function. */
virtual void create_thread(const std::string & /*name*/, virtual void create_thread(const std::string & /*name*/,
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
} }
private: private:
const shared_ptr<std::function<void()>> m_func_on_thread_start; const std::shared_ptr<std::function<void()>> m_func_on_thread_start;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment