Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wrrrzr committed Feb 4, 2025
1 parent 3b538a7 commit 7c7a62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/threading/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void Thread::threadProc(Thread *thr)
}


Thread const *Thread::getCurrentThread()
Thread *Thread::getCurrentThread()
{
return current_thread;
}
Expand Down
2 changes: 1 addition & 1 deletion src/threading/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Thread {
/*
* Returns the thread object of the current thread if it exists.
*/
static const Thread *getCurrentThread();
static Thread *getCurrentThread();

/*
* Sets the currently executing thread's name to where supported; useful
Expand Down

0 comments on commit 7c7a62e

Please sign in to comment.