Commit 3810a145 authored by Tobias Hunger's avatar Tobias Hunger

Utils: Fix indention

Change-Id: Idc7ec5d102b0e3c838700ee7d89db7aea3399728
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 6e0e988f
......@@ -343,20 +343,20 @@ template<typename C, typename F>
Q_REQUIRED_RESULT
C filtered(const C &container, F predicate)
{
C out;
std::copy_if(container.begin(), container.end(),
inserter(out), predicate);
return out;
C out;
std::copy_if(container.begin(), container.end(),
inserter(out), predicate);
return out;
}
template<typename C, typename R, typename S>
Q_REQUIRED_RESULT
C filtered(const C &container, R (S::*predicate)() const)
{
C out;
std::copy_if(container.begin(), container.end(),
inserter(out), std::mem_fn(predicate));
return out;
C out;
std::copy_if(container.begin(), container.end(),
inserter(out), std::mem_fn(predicate));
return 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