Commit a0269d8b authored by Tobias Hunger's avatar Tobias Hunger

Algorithm: Mark output of filtered as Q_REQUIRED_RESULT

Change-Id: I0518ed3c649efc8854cb5ef63c02e4def984cdd2
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 9035e778
...@@ -341,6 +341,7 @@ auto transform(const SC &container, R (S::*p)() const) ...@@ -341,6 +341,7 @@ auto transform(const SC &container, R (S::*p)() const)
// filtered // filtered
///////////////// /////////////////
template<typename C, typename F> template<typename C, typename F>
Q_REQUIRED_RESULT
C filtered(const C &container, F predicate) C filtered(const C &container, F predicate)
{ {
C out; C out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment