diff options
Diffstat (limited to 'externals/grill/flext/source/flthr.cpp')
-rw-r--r-- | externals/grill/flext/source/flthr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flthr.cpp b/externals/grill/flext/source/flthr.cpp index 47c64354..56a9c9a2 100644 --- a/externals/grill/flext/source/flthr.cpp +++ b/externals/grill/flext/source/flthr.cpp @@ -320,10 +320,9 @@ bool flext::StopThread(void (*meth)(thr_params *p),thr_params *p,bool wait) return qufnd.Size() == 0; } -bool flext_base::ShouldExit() const +bool flext::ShouldExit() { - thr_entry *fnd = thrstopped.Find(GetThreadId()); - return fnd != NULL; + return thrstopped.Find(GetThreadId()) != NULL; } bool flext::PushThread() |