Skip to content
Snippets Groups Projects
Commit 2d139403 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

From Joern Adamczewski:

fixed issue 31085 by just changing the argument of
static TThread::Delete to a reference.


git-svn-id: http://root.cern.ch/svn/root/trunk@20782 27541ba8-7e3a-0410-8455-c3a389f83636
parent 97bf356a
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ public:
static Int_t Sleep(ULong_t secs, ULong_t nanos = 0);
static Int_t GetTime(ULong_t *absSec, ULong_t *absNanoSec);
static Int_t Delete(TThread *th);
static Int_t Delete(TThread *&th);
static void **Tsd(void *dflt, Int_t k);
// Cancellation
......
......@@ -300,7 +300,7 @@ TThread::~TThread()
}
//______________________________________________________________________________
Int_t TThread::Delete(TThread *th)
Int_t TThread::Delete(TThread *&th)
{
// Static method to delete the specified thread.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment