From 685db9fea3562076e2dbcb9dbf426154fbd60eb7 Mon Sep 17 00:00:00 2001 From: Christian Jaeger Date: Wed, 10 Apr 2024 13:37:19 +0200 Subject: [PATCH] feat(boolean columns, resolves #384): const declaration To satisfy linter. --- src/silo/storage/column_group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/silo/storage/column_group.cpp b/src/silo/storage/column_group.cpp index 6797ef140..97c89f139 100644 --- a/src/silo/storage/column_group.cpp +++ b/src/silo/storage/column_group.cpp @@ -279,7 +279,7 @@ common::JsonValueType ColumnPartitionGroup::getValue( return common::dateToString(date_columns.at(column).getValues().at(sequence_id)); } if (bool_columns.contains(column)) { - OptionalBool value = bool_columns.at(column).getValues().at(sequence_id); + const OptionalBool value = bool_columns.at(column).getValues().at(sequence_id); if (value.isNull()) { return std::nullopt; }