diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-07 14:59:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 14:59:39 +0200 |
commit | 3121b3a4f4c01744184e952d79f9a56e01bdba41 (patch) | |
tree | 689fe41108d8d35c2aaace270c265085fac310d7 /platform/uwp/thread_uwp.cpp | |
parent | b0dfec77c27fb413eeaf3b9b2fdcb3777526c28f (diff) | |
parent | 5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (diff) |
Merge pull request #10141 from ISylvox/lower_case_godot_api
Makes all Godot API's Methods lower_case
Diffstat (limited to 'platform/uwp/thread_uwp.cpp')
-rw-r--r-- | platform/uwp/thread_uwp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/uwp/thread_uwp.cpp b/platform/uwp/thread_uwp.cpp index 436941707c..0549a8ed47 100644 --- a/platform/uwp/thread_uwp.cpp +++ b/platform/uwp/thread_uwp.cpp @@ -41,7 +41,7 @@ Thread *ThreadUWP::create_func_uwp(ThreadCreateCallback p_callback, void *p_user return thread; }; -Thread::ID ThreadUWP::get_thread_ID_func_uwp() { +Thread::ID ThreadUWP::get_thread_id_func_uwp() { return std::hash<std::thread::id>()(std::this_thread::get_id()); }; @@ -52,14 +52,14 @@ void ThreadUWP::wait_to_finish_func_uwp(Thread *p_thread) { tp->thread.join(); }; -Thread::ID ThreadUWP::get_ID() const { +Thread::ID ThreadUWP::get_id() const { return std::hash<std::thread::id>()(thread.get_id()); }; void ThreadUWP::make_default() { create_func = create_func_uwp; - get_thread_ID_func = get_thread_ID_func_uwp; + get_thread_id_func = get_thread_id_func_uwp; wait_to_finish_func = wait_to_finish_func_uwp; }; |