From 61f7f7538cc6abb0be64c35570f38dd2541d7451 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 8 Jun 2022 17:31:36 +0200 Subject: Add const Settings& to build configuration callbacks. --- test/ctor.cc | 2 +- test/source_type_test.cc | 1 - test/tasks_test.cc | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/ctor.cc b/test/ctor.cc index 66f20f2..7d7a53c 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -5,7 +5,7 @@ namespace { -BuildConfigurations ctorTestConfigs() +BuildConfigurations ctorTestConfigs(const Settings& settings) { return { diff --git a/test/source_type_test.cc b/test/source_type_test.cc index 47d820d..ed7e783 100644 --- a/test/source_type_test.cc +++ b/test/source_type_test.cc @@ -2,7 +2,6 @@ #include #include -#include std::ostream& operator<<(std::ostream& stream, const Language& lang) { diff --git a/test/tasks_test.cc b/test/tasks_test.cc index a807d32..2e0ffc7 100644 --- a/test/tasks_test.cc +++ b/test/tasks_test.cc @@ -2,11 +2,10 @@ #include #include -#include namespace { -BuildConfigurations ctorTestConfigs1() +BuildConfigurations ctorTestConfigs1(const Settings&) { return { @@ -20,7 +19,7 @@ BuildConfigurations ctorTestConfigs1() }; } -BuildConfigurations ctorTestConfigs2() +BuildConfigurations ctorTestConfigs2(const Settings&) { return { -- cgit v1.2.3