C++ Thrift coding style changes
Summary: Make underscore for class members consistent
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664818 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/Monitor.h b/lib/cpp/src/concurrency/Monitor.h
index 62a8344..e67b71b 100644
--- a/lib/cpp/src/concurrency/Monitor.h
+++ b/lib/cpp/src/concurrency/Monitor.h
@@ -39,22 +39,23 @@
class Impl;
- Impl* _impl;
+ Impl* impl_;
};
class Synchronized {
public:
- Synchronized(const Monitor& value) : _monitor(value) {
- _monitor.lock();
+ Synchronized(const Monitor& value) :
+ monitor_(value) {
+ monitor_.lock();
}
~Synchronized() {
- _monitor.unlock();
+ monitor_.unlock();
}
private:
- const Monitor& _monitor;
+ const Monitor& monitor_;
};