Use "standard" llsd::equals

master
Rick Pasetto 2010-02-01 15:24:38 -08:00
parent a8f42e5190
commit 6294d4f7bf
1 changed files with 1 additions and 6 deletions

View File

@ -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: ";