From: Jens Geyer Date: Tue, 16 Jul 2013 18:58:38 +0000 (+0200) Subject: THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton X-Git-Tag: 0.9.1~39 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=4f7ad2d98b22b367c7a4a25991cdf9a81647d3be;p=common%2Fthrift.git THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton Patch: Konrad Grochowski --- diff --git a/lib/cpp/src/thrift/windows/TWinsockSingleton.h b/lib/cpp/src/thrift/windows/TWinsockSingleton.h index 5f9b6e22..ab12c222 100644 --- a/lib/cpp/src/thrift/windows/TWinsockSingleton.h +++ b/lib/cpp/src/thrift/windows/TWinsockSingleton.h @@ -55,12 +55,6 @@ public: typedef boost::scoped_ptr instance_ptr; -private: - -#if USE_BOOST_THREAD - friend void boost::call_once(void (*func)(void), boost::once_flag& flag); -#endif - private: TWinsockSingleton(void);