From f983abcfc07b15287d393da079597c642d5b304c Mon Sep 17 00:00:00 2001 From: MeanSquaredError <35379301+MeanSquaredError@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:53:52 +0300 Subject: [PATCH] Remove structure sqlpp::iterator_category. --- include/sqlpp11/result.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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&;