From: Christian P. <cp...@us...> - 2005-01-16 01:57:31
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16078/src/System Modified Files: ThreadKey.posix.cpp Log Message: Fixed const qualifier Index: ThreadKey.posix.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/ThreadKey.posix.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ThreadKey.posix.cpp 16 Jan 2005 01:48:59 -0000 1.1 +++ ThreadKey.posix.cpp 16 Jan 2005 01:57:17 -0000 1.2 @@ -36,7 +36,7 @@ _handle = h; } -ThreadKeyImpl::~ThreadKeyImpl() +ThreadKeyImpl::~ThreadKeyImpl() throw() { pthread_key_delete(_handle); } @@ -46,7 +46,7 @@ pthread_setspecific(_handle, ptr); } -void* ThreadKeyImpl::get() throw() +void* ThreadKeyImpl::get() const throw() { return pthread_getspecific(_handle); } |