mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use LeakChecked throughout Beast
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user