X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=sigc%2B%2B%2Fthread.cc;h=a8ed235dc6495b08be6f882c81d5f636fe64310b;hb=4d51fc96b416eb72f8f6e0533745188717da575e;hp=43ad7c14ed226e70a7d1cf0145471087ea2a7059;hpb=d486ef026e63b4a7d64daaee5f5a46615bca5ee9;p=lyx.git diff --git a/sigc++/thread.cc b/sigc++/thread.cc index 43ad7c14ed..a8ed235dc6 100644 --- a/sigc++/thread.cc +++ b/sigc++/thread.cc @@ -135,13 +135,6 @@ void Private_::destroy() #endif } -Private::operator int&() -{ - int * value = static_cast(get()); - if (!value) - set(static_cast(value = new int(0))); - return *(value); -} #ifdef SIGC_PTHREAD_DCE MutexAttr Mutex::Default={pthread_mutexattr_default}; @@ -155,8 +148,8 @@ ThreadAttr Thread::Default={0}; #ifdef SIGC_CXX_NAMESPACES -}; -}; +} +} #endif #endif