summaryrefslogtreecommitdiff
path: root/indra/newview/tests
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-11 16:43:23 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-11 16:43:23 -0500
commit25edeb91385a227290b7892b2290e33431fb8737 (patch)
treefca93b700820928ae98d680f2d3a471a8669da75 /indra/newview/tests
parent0135d0f2d827f60f91d048cddcdcd770fa004201 (diff)
fix for build failure on test w/linux
Diffstat (limited to 'indra/newview/tests')
-rwxr-xr-xindra/newview/tests/llviewerassetstats_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/tests/llviewerassetstats_test.cpp b/indra/newview/tests/llviewerassetstats_test.cpp
index b55b6c13d4..e72fa0fa70 100755
--- a/indra/newview/tests/llviewerassetstats_test.cpp
+++ b/indra/newview/tests/llviewerassetstats_test.cpp
@@ -92,17 +92,21 @@ static const U64 region2_handle(0x0000030000004200ULL);
static const std::string region1_handle_str("0000040000003f00");
static const std::string region2_handle_str("0000030000004200");
+#if 0
static bool
is_empty_map(const LLSD & sd)
{
return sd.isMap() && 0 == sd.size();
}
+#endif
+#if 0
static bool
is_single_key_map(const LLSD & sd, const std::string & key)
{
return sd.isMap() && 1 == sd.size() && sd.has(key);
}
+#endif
static bool
is_double_key_map(const LLSD & sd, const std::string & key1, const std::string & key2)
@@ -110,11 +114,13 @@ is_double_key_map(const LLSD & sd, const std::string & key1, const std::string &
return sd.isMap() && 2 == sd.size() && sd.has(key1) && sd.has(key2);
}
+#if 0
static bool
is_triple_key_map(const LLSD & sd, const std::string & key1, const std::string & key2, const std::string& key3)
{
return sd.isMap() && 3 == sd.size() && sd.has(key1) && sd.has(key2) && sd.has(key3);
}
+#endif
static bool