From 9eb7c8344f2df74482fe84b4a19540d81ff65ba5 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 30 Dec 2014 09:30:53 -0800 Subject: [PATCH] Don't leak track StringPairArray --- src/beast/beast/module/core/diagnostic/UnitTestUtilities.h | 2 ++ src/beast/beast/module/core/text/StringPairArray.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/beast/beast/module/core/diagnostic/UnitTestUtilities.h b/src/beast/beast/module/core/diagnostic/UnitTestUtilities.h index 721dbc4ee4..d354f2dfdb 100644 --- a/src/beast/beast/module/core/diagnostic/UnitTestUtilities.h +++ b/src/beast/beast/module/core/diagnostic/UnitTestUtilities.h @@ -20,6 +20,8 @@ #ifndef BEAST_UNITTESTUTILITIES_H_INCLUDED #define BEAST_UNITTESTUTILITIES_H_INCLUDED +#include + namespace beast { namespace UnitTestUtilities { diff --git a/src/beast/beast/module/core/text/StringPairArray.h b/src/beast/beast/module/core/text/StringPairArray.h index 57c0cc6aab..40e850a6f0 100644 --- a/src/beast/beast/module/core/text/StringPairArray.h +++ b/src/beast/beast/module/core/text/StringPairArray.h @@ -25,7 +25,6 @@ #define BEAST_STRINGPAIRARRAY_H_INCLUDED #include -#include namespace beast { @@ -35,7 +34,7 @@ namespace beast { @see StringArray */ -class StringPairArray : LeakChecked +class StringPairArray { public: //==============================================================================