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

@@ -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)
};
//==============================================================================

View File

@@ -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)
};

View File

@@ -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)
};