Commit 4de78cbf authored by Nicholas Ormrod's avatar Nicholas Ormrod Committed by Pavlo Kushnir

rm protected inheritance

Summary:
Remove the protected inheritance from folly.

The code looks like the protected might be appropriate: there are some
derived classes which might want access to the AsyncTimeout.

Test Plan: run unit tests

Reviewed By: davejwatson@fb.com

Subscribers: trunkagent, sdwilsh, njormrod, folly-diffs@

FB internal diff: D1649686

Tasks: 5486739

Signature: t1:1649686:1415035288:18efd2cf9aae8caab66d8303c22cdc26c6b54ae5
parent d3a23ad3
...@@ -54,7 +54,7 @@ namespace folly { ...@@ -54,7 +54,7 @@ namespace folly {
* maintaining time and timers, provided that we can maintain * maintaining time and timers, provided that we can maintain
* a consistent rate of ticks. * a consistent rate of ticks.
*/ */
class HHWheelTimer : protected folly::AsyncTimeout, class HHWheelTimer : private folly::AsyncTimeout,
public folly::DelayedDestruction { public folly::DelayedDestruction {
public: public:
typedef std::unique_ptr<HHWheelTimer, Destructor> UniquePtr; typedef std::unique_ptr<HHWheelTimer, Destructor> UniquePtr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment