summaryrefslogtreecommitdiff
path: root/indra/test/lltut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/lltut.cpp')
-rw-r--r--indra/test/lltut.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/test/lltut.cpp b/indra/test/lltut.cpp
index 64861c3115..201e174f9c 100644
--- a/indra/test/lltut.cpp
+++ b/indra/test/lltut.cpp
@@ -33,10 +33,13 @@
*/
#include "linden_common.h"
+
#include "lltut.h"
+#include "lldate.h"
#include "llformat.h"
#include "llsd.h"
+#include "lluri.h"
namespace tut
{
@@ -74,7 +77,7 @@ namespace tut
void ensure_equals(const char* m, const LLSD& actual,
const LLSD& expected)
{
- const std::string& msg = m;
+ const std::string& msg = m ? m : "";
ensure_equals(msg + " type", actual.type(), expected.type());
switch (actual.type())
@@ -196,3 +199,4 @@ namespace tut
}
}
}
+