summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-02-04 16:23:24 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-02-04 16:23:24 -0500
commit2b5a3de8096fa9a4e8c523aab22493adf7411d3f (patch)
tree319b05acdff8b3eae2999e5c24855d21e905c78f /indra/llprimitive
parenta165279acd57c6c0e2e6492b7de39a9e614327af (diff)
parent21adf86c567d3cad81e762c0215c8ec8f8c5eab6 (diff)
merge
Diffstat (limited to 'indra/llprimitive')
-rw-r--r--indra/llprimitive/tests/llmediaentry_test.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llprimitive/tests/llmediaentry_test.cpp b/indra/llprimitive/tests/llmediaentry_test.cpp
index 277e370ca4..88cd96ebe4 100644
--- a/indra/llprimitive/tests/llmediaentry_test.cpp
+++ b/indra/llprimitive/tests/llmediaentry_test.cpp
@@ -157,14 +157,9 @@ namespace
namespace tut
{
- bool llsd_equals(const LLSD& a, const LLSD& b) {
- // cheesy, brute force, but it works
- return std::string(ll_pretty_print_sd(a)) == std::string(ll_pretty_print_sd(b));
- }
-
void ensure_llsd_equals(const std::string& msg, const LLSD& expected, const LLSD& actual)
{
- if (!tut::llsd_equals(expected, actual))
+ if (!llsd_equals(expected, actual))
{
std::string message = msg;
message += ": actual: ";