summaryrefslogtreecommitdiff
path: root/o3tl/qa/test-lru_map.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'o3tl/qa/test-lru_map.cxx')
-rw-r--r--o3tl/qa/test-lru_map.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/o3tl/qa/test-lru_map.cxx b/o3tl/qa/test-lru_map.cxx
index 5ceec149571c..a03a6bf37200 100644
--- a/o3tl/qa/test-lru_map.cxx
+++ b/o3tl/qa/test-lru_map.cxx
@@ -182,6 +182,8 @@ void lru_map_test::testLruRemoval()
CPPUNIT_ASSERT_EQUAL(700, lru.find(7)->second);
}
+namespace {
+
struct TestClassKey
{
int mA;
@@ -210,6 +212,8 @@ struct TestClassKeyHashFunction
}
};
+}
+
void lru_map_test::testCustomHash()
{
// check lru_map with custom hash function