Skip to content

Commit 7305888

Browse files
committed
fix compilation for ubuntu clang14
1 parent c36ee9a commit 7305888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ExcaliburHashTest01.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ TEST(SmFlatHashMap, SimplestTest)
2020
TEST(SmFlatHashMap, EmptyValuesTest)
2121
{
2222
// use hash table as map (no values stored at all)
23-
Excalibur::HashTable<int, nullptr_t> ht;
23+
Excalibur::HashTable<int, std::nullptr_t> ht;
2424
EXPECT_TRUE(ht.empty());
2525

2626
const int kNumElements = 99999;
@@ -259,7 +259,7 @@ template <> struct KeyInfo<Bar>
259259

260260
TEST(SmFlatHashMap, IteratorTestEdgeCases)
261261
{
262-
Excalibur::HashTable<Bar, nullptr_t> ht;
262+
Excalibur::HashTable<Bar, std::nullptr_t> ht;
263263
EXPECT_TRUE(ht.empty());
264264
{
265265
auto it = ht.begin();

0 commit comments

Comments
 (0)