Tests: Fix compile error

Former-commit-id: b677c9073998d1449c7aa955e100b53f6931e7f0
This commit is contained in:
Lynix
2016-03-01 13:58:45 +01:00
parent e9bb81e851
commit 790275da8f
4 changed files with 16 additions and 259 deletions

View File

@@ -8,7 +8,7 @@ SCENARIO("SparsePtr", "[CORE][SPARSEPTR]")
GIVEN("A sparse pointer pointing to an array with a stride of 2")
{
std::array<int, 5> arrays{0, 1, 2, 3, 4};
Nz::SparsePtr<int> sparsePtr(arrays.begin(), 2 * sizeof(int));
Nz::SparsePtr<int> sparsePtr(arrays.data(), 2 * sizeof(int));
WHEN("We use operators")
{