mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DISALLOW_ macro from include/ (see issue #3234)
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
This commit is contained in:
@@ -90,7 +90,10 @@ class CefBaseScoped {
|
||||
///
|
||||
class CefRefCount {
|
||||
public:
|
||||
CefRefCount() {}
|
||||
CefRefCount() = default;
|
||||
|
||||
CefRefCount(const CefRefCount&) = delete;
|
||||
CefRefCount& operator=(const CefRefCount&) = delete;
|
||||
|
||||
///
|
||||
// Increment the reference count.
|
||||
@@ -114,7 +117,6 @@ class CefRefCount {
|
||||
|
||||
private:
|
||||
mutable base::AtomicRefCount ref_count_{0};
|
||||
DISALLOW_COPY_AND_ASSIGN(CefRefCount);
|
||||
};
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user