This commit is contained in:
David Rose 2006-04-12 00:15:44 +00:00
parent e3e0e2e447
commit b638e65532
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ set_ptr(void *&var, void *new_value) {
// (via other AtomicAjust methods).
////////////////////////////////////////////////////////////////////
INLINE void *AtomicAdjustPosixImpl::
get_ptr(const void *&var) {
get_ptr(void * const &var) {
pthread_mutex_lock(&_mutex);
void *orig_value = var;
pthread_mutex_unlock(&_mutex);