Use LeakChecked throughout Beast

This commit is contained in:
Vinnie Falco
2013-06-29 22:59:07 -07:00
parent 386fea5e71
commit ca1eda2df1
104 changed files with 354 additions and 650 deletions

View File

@@ -34,7 +34,7 @@
@see InterprocessConnection
*/
class BEAST_API NamedPipe
class BEAST_API NamedPipe : LeakChecked <NamedPipe>, Uncopyable
{
public:
//==============================================================================
@@ -92,8 +92,6 @@ private:
ReadWriteLock lock;
bool openInternal (const String& pipeName, const bool createPipe);
BEAST_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NamedPipe)
};

View File

@@ -36,7 +36,7 @@
@see DatagramSocket, InterprocessConnection, InterprocessConnectionServer
*/
class BEAST_API StreamingSocket
class BEAST_API StreamingSocket : LeakChecked <StreamingSocket>, Uncopyable
{
public:
//==============================================================================
@@ -163,8 +163,6 @@ private:
bool connected, isListener;
StreamingSocket (const String& hostname, int portNumber, int handle);
BEAST_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StreamingSocket)
};
@@ -177,7 +175,7 @@ private:
@see StreamingSocket, InterprocessConnection, InterprocessConnectionServer
*/
class BEAST_API DatagramSocket
class BEAST_API DatagramSocket : LeakChecked <DatagramSocket>, Uncopyable
{
public:
//==============================================================================
@@ -294,8 +292,6 @@ private:
void* serverAddress;
DatagramSocket (const String& hostname, int portNumber, int handle, int localPortNumber);
BEAST_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DatagramSocket)
};

View File

@@ -37,7 +37,7 @@ class XmlElement;
This class can be used to launch URLs in browsers, and also to create
InputStreams that can read from remote http or ftp sources.
*/
class BEAST_API URL
class BEAST_API URL : LeakChecked <URL>
{
public:
//==============================================================================
@@ -338,7 +338,6 @@ private:
OpenStreamProgressCallback* progressCallback,
void* progressCallbackContext, const String& headers,
const int timeOutMs, StringPairArray* responseHeaders);
BEAST_LEAK_DETECTOR (URL)
};