THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton
authorJens Geyer <jensg@apache.org>
Tue, 16 Jul 2013 18:58:38 +0000 (20:58 +0200)
committerJens Geyer <jensg@apache.org>
Tue, 16 Jul 2013 18:58:38 +0000 (20:58 +0200)
Patch: Konrad Grochowski

lib/cpp/src/thrift/windows/TWinsockSingleton.h

index 5f9b6e2..ab12c22 100644 (file)
@@ -55,12 +55,6 @@ public:
 
     typedef boost::scoped_ptr<TWinsockSingleton> instance_ptr;
 
-private:
-
-#if USE_BOOST_THREAD
-    friend void boost::call_once(void (*func)(void), boost::once_flag& flag);
-#endif
-
 private:
 
     TWinsockSingleton(void);