From b74bd9e24e1205b7449404fd05172664b211d82c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 29 May 2022 14:55:51 +0200 Subject: Make all task lists std::set instead of std::list to make sure to not contain duplicates. --- src/unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unittest.cc') diff --git a/src/unittest.cc b/src/unittest.cc index ade2d0a..d02e4f2 100644 --- a/src/unittest.cc +++ b/src/unittest.cc @@ -9,7 +9,7 @@ #include "settings.h" #include "task.h" -int runUnitTests(std::list>& tasks, +int runUnitTests(std::set>& tasks, const Settings& settings) { bool ok{true}; -- cgit v1.2.3