From 3962cc1aeef35e8e984eecd34bd6f02c94d5f9fd Mon Sep 17 00:00:00 2001 From: Jinhao Date: Thu, 26 Jul 2018 04:07:20 +0800 Subject: [PATCH] fix bug that all members in widget_iterator are private --- include/nana/gui/widgets/detail/widget_iterator.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/nana/gui/widgets/detail/widget_iterator.hpp b/include/nana/gui/widgets/detail/widget_iterator.hpp index c78e5d4d..6f8945ef 100644 --- a/include/nana/gui/widgets/detail/widget_iterator.hpp +++ b/include/nana/gui/widgets/detail/widget_iterator.hpp @@ -1,6 +1,6 @@ /* * A Widget Iterator Template - * Copyright(C) 2017 Jinhao(cnjinhao@hotmail.com) + * Copyright(C) 2017-2018 Jinhao(cnjinhao@hotmail.com) * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at @@ -23,6 +23,7 @@ namespace nana { template class widget_iterator { + public: using iterator_category = Category; using value_type = T; using difference_type = std::ptrdiff_t;