forked from OSchip/llvm-project
[llvm][NFC] Made RefCountBase constructors protected
Matches ThreadSafeRefCountBase and forces the class to be inherited.
This commit is contained in:
parent
dc361d5c2a
commit
a61d508473
|
@ -70,7 +70,7 @@ namespace llvm {
|
|||
template <class Derived> class RefCountedBase {
|
||||
mutable unsigned RefCount = 0;
|
||||
|
||||
public:
|
||||
protected:
|
||||
RefCountedBase() = default;
|
||||
RefCountedBase(const RefCountedBase &) {}
|
||||
RefCountedBase &operator=(const RefCountedBase &) = delete;
|
||||
|
|
Loading…
Reference in New Issue