summaryrefslogtreecommitdiffstats
path: root/core/os/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/thread.h')
-rw-r--r--core/os/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/thread.h b/core/os/thread.h
index a769bb1df4..3e307adfff 100644
--- a/core/os/thread.h
+++ b/core/os/thread.h
@@ -109,7 +109,7 @@ public:
static Error set_name(const String &p_name);
- void start(Thread::Callback p_callback, void *p_user, const Settings &p_settings = Settings());
+ ID start(Thread::Callback p_callback, void *p_user, const Settings &p_settings = Settings());
bool is_started() const;
///< waits until thread is finished, and deallocates it.
void wait_to_finish();