THRIFT-5599: contrib/fb303 does not compile after C++ library refactorings
Patch: Michael Leinartas
This closes #2624
diff --git a/contrib/fb303/cpp/FacebookBase.h b/contrib/fb303/cpp/FacebookBase.h
index e0be4bf..0e4107d 100644
--- a/contrib/fb303/cpp/FacebookBase.h
+++ b/contrib/fb303/cpp/FacebookBase.h
@@ -33,11 +33,10 @@
namespace facebook { namespace fb303 {
using apache::thrift::concurrency::Mutex;
-using apache::thrift::concurrency::ReadWriteMutex;
using apache::thrift::server::TServer;
-struct ReadWriteInt : ReadWriteMutex {int64_t value;};
-struct ReadWriteCounterMap : ReadWriteMutex,
+struct ReadWriteInt : Mutex {int64_t value;};
+struct ReadWriteCounterMap : Mutex,
std::map<std::string, ReadWriteInt> {};
/**