diff --git a/include/sqlpp11/result.h b/include/sqlpp11/result.h index 564df29f..2211548e 100644 --- a/include/sqlpp11/result.h +++ b/include/sqlpp11/result.h @@ -32,12 +32,6 @@ namespace sqlpp { - template - struct iterator_category - { - using type = std::input_iterator_tag; - }; - namespace detail { template @@ -87,7 +81,7 @@ namespace sqlpp class iterator { public: - using iterator_category = typename iterator_category::type; + using iterator_category = std::input_iterator_tag; using value_type = result_row_t; using pointer = const result_row_t*; using reference = const result_row_t&;