summaryrefslogtreecommitdiffstats
path: root/unittests/ADT/SparseSetTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/ADT/SparseSetTest.cpp')
-rw-r--r--unittests/ADT/SparseSetTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/SparseSetTest.cpp b/unittests/ADT/SparseSetTest.cpp
index a6ea757..eb0e0db 100644
--- a/unittests/ADT/SparseSetTest.cpp
+++ b/unittests/ADT/SparseSetTest.cpp
@@ -161,7 +161,7 @@ TEST(SparseSetTest, MultipleEntrySet) {
struct Alt {
unsigned Value;
explicit Alt(unsigned x) : Value(x) {}
- unsigned getSparseSetKey() const { return Value - 1000; }
+ unsigned getSparseSetIndex() const { return Value - 1000; }
};
TEST(SparseSetTest, AltStructSet) {
OpenPOWER on IntegriCloud