diff --git a/include/tcframe/validator/core.hpp b/include/tcframe/validator/core.hpp index 1875fcb..640c452 100644 --- a/include/tcframe/validator/core.hpp +++ b/include/tcframe/validator/core.hpp @@ -53,8 +53,8 @@ struct VectorElementValidator { } bool satisfies(function predicate) { - for(T v: val) { - if(!predicate(v)) { + for (T v : val) { + if (!predicate(v)) { return false; } } @@ -163,8 +163,8 @@ struct MatrixElementValidator { } bool satisfies(function predicate) { - for(const vector& v : val) { - if(!eachElementOf(v).satisfies(predicate)) { + for (const vector& v : val) { + if (!eachElementOf(v).satisfies(predicate)) { return false; } }