mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use deleted members to prevent copying in Beast (RIPD-268)
This commit is contained in:
committed by
Vinnie Falco
parent
cd97b5beec
commit
60330da25c
@@ -31,7 +31,7 @@ namespace beast
|
||||
/**
|
||||
Contains methods for finding out about the current hardware and OS configuration.
|
||||
*/
|
||||
class SystemStats : public Uncopyable
|
||||
class SystemStats
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -177,7 +177,9 @@ public:
|
||||
private:
|
||||
//==============================================================================
|
||||
|
||||
SystemStats();
|
||||
SystemStats() = delete;
|
||||
SystemStats (SystemStats const&) = delete;
|
||||
SystemStats const& operator= (SystemStats const&) = delete;
|
||||
};
|
||||
|
||||
} // beast
|
||||
|
||||
Reference in New Issue
Block a user