summaryrefslogtreecommitdiff
path: root/src/unittest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-05-29 14:55:51 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-06-09 22:15:32 +0200
commitb74bd9e24e1205b7449404fd05172664b211d82c (patch)
treeaf69d4efbdddee347cd82c774880efa6820a0aa2 /src/unittest.cc
parent15eea63a6e7da37e7b4d643f189e6de150268ff8 (diff)
Make all task lists std::set instead of std::list to make sure to not contain duplicates.
Diffstat (limited to 'src/unittest.cc')
-rw-r--r--src/unittest.cc2
1 files changed, 1 insertions, 1 deletions
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<std::shared_ptr<Task>>& tasks,
+int runUnitTests(std::set<std::shared_ptr<Task>>& tasks,
const Settings& settings)
{
bool ok{true};