Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ba406d3
)
THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton
author
Jens Geyer
<jensg@apache.org>
Tue, 16 Jul 2013 18:58:38 +0000
(20:58 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/lib/cpp/src/thrift/windows/TWinsockSingleton.h
b/lib/cpp/src/thrift/windows/TWinsockSingleton.h
index
5f9b6e2
..
ab12c22
100644
(file)
--- 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<TWinsockSingleton> instance_ptr;
-private:
-
-#if USE_BOOST_THREAD
- friend void boost::call_once(void (*func)(void), boost::once_flag& flag);
-#endif
-
private:
TWinsockSingleton(void);