diff --git a/tests/test_extents.cpp b/tests/test_extents.cpp index 0fd7667d..f7596c80 100644 --- a/tests/test_extents.cpp +++ b/tests/test_extents.cpp @@ -119,7 +119,8 @@ TYPED_TEST(TestExtents, copy_ctor) { } TYPED_TEST(TestExtents, copy_assign) { - typename TestFixture::extents_type e = this->exts; + typename TestFixture::extents_type e; + e = this->exts; EXPECT_EQ(e, this->exts); }