Use deleted members to prevent copying in Beast (RIPD-268)

This commit is contained in:
Nik Bougalis
2014-10-01 08:47:52 -07:00
committed by Vinnie Falco
parent cd97b5beec
commit 60330da25c
48 changed files with 255 additions and 191 deletions
+4 -2
View File
@@ -34,7 +34,7 @@ namespace beast {
@see Thread, BEASTApplication
*/
class Process : public Uncopyable
class Process
{
public:
//==============================================================================
@@ -130,7 +130,9 @@ public:
#endif
private:
Process();
Process() = delete;
Process (Process const&) = delete;
Process const& operator= (Process const&) = delete;
};
} // beast