mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove use of deprecated behavior involving copy members
* If any of the destructor, copy assignment or copy constructor are user-declared, both copy members should be user-declared, otherwise the compiler-generation of them is deprecated.
This commit is contained in:
@@ -112,6 +112,8 @@ public:
|
||||
getCounter ().increment ();
|
||||
}
|
||||
|
||||
CountedObject& operator=(CountedObject const&) = default;
|
||||
|
||||
~CountedObject ()
|
||||
{
|
||||
getCounter ().decrement ();
|
||||
|
||||
Reference in New Issue
Block a user