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
@@ -33,7 +33,7 @@ namespace beast
|
||||
Contains some static helper functions for manipulating the MS Windows registry
|
||||
(Only available on Windows, of course!)
|
||||
*/
|
||||
class WindowsRegistry : public Uncopyable
|
||||
class WindowsRegistry
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -113,8 +113,9 @@ public:
|
||||
int iconResourceNumber,
|
||||
bool registerForCurrentUserOnly);
|
||||
|
||||
private:
|
||||
WindowsRegistry();
|
||||
WindowsRegistry() = delete;
|
||||
WindowsRegistry(WindowsRegistry const&) = delete;
|
||||
WindowsRegistry const& operator= (WindowsRegistry const&) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user