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/TimerManager.h b/lib/cpp/src/concurrency/TimerManager.h
index 50a0c13..78782d9 100644
--- a/lib/cpp/src/concurrency/TimerManager.h
+++ b/lib/cpp/src/concurrency/TimerManager.h
@@ -86,17 +86,17 @@
virtual const STATE state() const;
private:
- shared_ptr<const ThreadFactory> _threadFactory;
+ shared_ptr<const ThreadFactory> threadFactory_;
class Task;
friend class Task;
- std::multimap<long long, shared_ptr<Task> > _taskMap;
- size_t _taskCount;
- Monitor _monitor;
- STATE _state;
+ std::multimap<long long, shared_ptr<Task> > taskMap_;
+ size_t taskCount_;
+ Monitor monitor_;
+ STATE state_;
class Dispatcher;
friend class Dispatcher;
- shared_ptr<Dispatcher> _dispatcher;
- shared_ptr<Thread> _dispatcherThread;
+ shared_ptr<Dispatcher> dispatcher_;
+ shared_ptr<Thread> dispatcherThread_;
};
}}} // facebook::thrift::concurrency