diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-23 14:21:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-23 14:21:12 +0000 |
commit | 035299f23a9207bb521b19e2f77154c276cf3033 (patch) | |
tree | 33d24274a6eb716d1d92f9bff074c3e81b8fb71e /ui/builders/freeExtend.cpp | |
parent | Other objects support in operator= (diff) | |
download | ilt-035299f23a9207bb521b19e2f77154c276cf3033.tar.bz2 ilt-035299f23a9207bb521b19e2f77154c276cf3033.tar.xz ilt-035299f23a9207bb521b19e2f77154c276cf3033.zip |
Other objects support in removeAll/clear
removeAll requires a type that is one of Others, clear clears everything
regardless of type.
Diffstat (limited to 'ui/builders/freeExtend.cpp')
-rw-r--r-- | ui/builders/freeExtend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/builders/freeExtend.cpp b/ui/builders/freeExtend.cpp index 09e1c75..aff7cd7 100644 --- a/ui/builders/freeExtend.cpp +++ b/ui/builders/freeExtend.cpp @@ -22,11 +22,11 @@ BuilderFreeExtend::move( candidateLinks = network->candidateExtend(*p1, p->first); } else { - candidateLinks.removeAll(); + candidateLinks.clear(); } } else { - candidateLinks.removeAll(); + candidateLinks.clear(); } } |