fix return type

master
Daniel Kolesa 2016-04-30 18:27:53 +01:00
parent 0f5ed68124
commit ca0dfcd8a4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ inline bool is_partitioned(R range, P pred) {
return true;
}
template<typename F> inline bool is_partitioned(F func) {
template<typename F> inline auto is_partitioned(F func) {
return [func = move(func)](auto &obj) { return is_partitioned(obj, move(func)); };
}