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:
@@ -70,7 +70,7 @@
|
||||
get a list of all the messages by searching for the TRANS() macro in the Beast source
|
||||
code).
|
||||
*/
|
||||
class BEAST_API LocalisedStrings
|
||||
class BEAST_API LocalisedStrings : LeakChecked <LocalisedStrings>
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -176,8 +176,6 @@ private:
|
||||
StringPairArray translations;
|
||||
|
||||
void loadFromText (const String&, bool ignoreCase);
|
||||
|
||||
BEAST_LEAK_DETECTOR (LocalisedStrings)
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
@see String, StringPairArray
|
||||
*/
|
||||
class BEAST_API StringArray
|
||||
class BEAST_API StringArray : LeakChecked <StringArray>
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -396,10 +396,7 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
Array <String> strings;
|
||||
|
||||
BEAST_LEAK_DETECTOR (StringArray)
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
@see StringArray
|
||||
*/
|
||||
class BEAST_API StringPairArray
|
||||
class BEAST_API StringPairArray : LeakChecked <StringPairArray>
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -150,8 +150,6 @@ private:
|
||||
//==============================================================================
|
||||
StringArray keys, values;
|
||||
bool ignoreCase;
|
||||
|
||||
BEAST_LEAK_DETECTOR (StringPairArray)
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user