Updated Branches:
  refs/heads/master ba406d3a0 -> 4f7ad2d98

THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton

Patch: Konrad Grochowski


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/4f7ad2d9
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/4f7ad2d9
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/4f7ad2d9

Branch: refs/heads/master
Commit: 4f7ad2d98b22b367c7a4a25991cdf9a81647d3be
Parents: ba406d3
Author: Jens Geyer <[email protected]>
Authored: Tue Jul 16 20:58:38 2013 +0200
Committer: Jens Geyer <[email protected]>
Committed: Tue Jul 16 20:58:38 2013 +0200

----------------------------------------------------------------------
 lib/cpp/src/thrift/windows/TWinsockSingleton.h | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/4f7ad2d9/lib/cpp/src/thrift/windows/TWinsockSingleton.h
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/windows/TWinsockSingleton.h 
b/lib/cpp/src/thrift/windows/TWinsockSingleton.h
index 5f9b6e2..ab12c22 100644
--- a/lib/cpp/src/thrift/windows/TWinsockSingleton.h
+++ b/lib/cpp/src/thrift/windows/TWinsockSingleton.h
@@ -57,12 +57,6 @@ public:
 
 private:
 
-#if USE_BOOST_THREAD
-    friend void boost::call_once(void (*func)(void), boost::once_flag& flag);
-#endif
-
-private:
-
     TWinsockSingleton(void);
 
 public:

Reply via email to