diff options
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/list/for_each.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/list/for_each.h b/src/runtime/list/for_each.h index 8986135..1ca2034 100644 --- a/src/runtime/list/for_each.h +++ b/src/runtime/list/for_each.h @@ -21,7 +21,7 @@ template < typename std::enable_if<!std::is_void<Current>::value, std::size_t>::type = 0 > void for_each(const Function& function) { - function(Head<Current>::value); + function(Head<Current>::type::value); for_each<Tail<Current>, Function>(function); } |