From 10dac1068c8c3d9c73fbb7a1d8d54061096b1cb4 Mon Sep 17 00:00:00 2001 From: Johannes Kalmbach Date: Mon, 21 Oct 2024 17:29:51 +0200 Subject: [PATCH] Fix a warning and the formatting. Signed-off-by: Johannes Kalmbach --- src/index/IndexFormatVersion.h | 2 -- test/LocatedTriplesTest.cpp | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index/IndexFormatVersion.h b/src/index/IndexFormatVersion.h index 5c57c7109..8e8e20b75 100644 --- a/src/index/IndexFormatVersion.h +++ b/src/index/IndexFormatVersion.h @@ -2,8 +2,6 @@ // Chair of Algorithms and Data Structures. // Author: Johannes Kalmbach - - #include #include "util/DateYearDuration.h" diff --git a/test/LocatedTriplesTest.cpp b/test/LocatedTriplesTest.cpp index 8e58c085d..6ed5f566f 100644 --- a/test/LocatedTriplesTest.cpp +++ b/test/LocatedTriplesTest.cpp @@ -23,7 +23,8 @@ auto PT = [](const auto& c1, const auto& c2, const auto& c3) { return CompressedBlockMetadata::PermutedTriple{V(c1), V(c2), V(c3)}; }; auto CBM = [](const auto firstTriple, const auto lastTriple) { - return CompressedBlockMetadata{{}, 0, firstTriple, lastTriple, {}, false}; + size_t dummyBlockIndex = 0; + return CompressedBlockMetadata{{}, 0, firstTriple, lastTriple, {}, false, 0}; }; auto numBlocks =