From da6b8b00f742249138077ce9bcd92d8fd4f48ef8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 13 Jan 2024 14:35:39 +0000 Subject: Use std::span for iterator/data pointer in glContainer --- test/test-instancing.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test-instancing.cpp') diff --git a/test/test-instancing.cpp b/test/test-instancing.cpp index c1860a4..98133f3 100644 --- a/test/test-instancing.cpp +++ b/test/test-instancing.cpp @@ -56,11 +56,11 @@ BOOST_AUTO_TEST_CASE(autoMapUnmap) { { auto proxy = acquire(); - BOOST_CHECK(data_); + BOOST_CHECK(data_.data()); std::ignore = bufferName(); - BOOST_CHECK(data_); + BOOST_CHECK(data_.data()); BOOST_CHECK_EQUAL(1, size()); - BOOST_CHECK(!data_); + BOOST_CHECK(!data_.data()); } BOOST_CHECK_EQUAL(0, size()); } -- cgit v1.2.3