diff options
Diffstat (limited to 'Tests/AK/TestOptional.cpp')
-rw-r--r-- | Tests/AK/TestOptional.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/AK/TestOptional.cpp b/Tests/AK/TestOptional.cpp index 2e71ce7f32..e96c12a23c 100644 --- a/Tests/AK/TestOptional.cpp +++ b/Tests/AK/TestOptional.cpp @@ -159,7 +159,7 @@ TEST_CASE(test_copy_ctor_and_dtor_called) { } - CopyChecker(const CopyChecker& other) + CopyChecker(CopyChecker const& other) : m_was_copy_constructed(other.m_was_copy_constructed) { m_was_copy_constructed = true; @@ -182,7 +182,7 @@ TEST_CASE(test_copy_ctor_and_dtor_called) { } - MoveChecker(const MoveChecker& other) + MoveChecker(MoveChecker const& other) : m_was_move_constructed(other.m_was_move_constructed) { EXPECT(false); |