From e36a3270e91fb03808256cf41ef9bb4abd2fce18 Mon Sep 17 00:00:00 2001 From: ErrorFlynn Date: Thu, 18 Apr 2019 17:13:19 -0400 Subject: [PATCH] bug: second parameter of category_icon() is rvalue reference --- include/nana/gui/widgets/listbox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nana/gui/widgets/listbox.hpp b/include/nana/gui/widgets/listbox.hpp index b6279630..5adeb748 100644 --- a/include/nana/gui/widgets/listbox.hpp +++ b/include/nana/gui/widgets/listbox.hpp @@ -1568,7 +1568,7 @@ the nana::detail::basic_window member pointer scheme * @param img_collapsed An icon displayed in front of category title when the category is collapsed. * @return the reference of *this. */ - listbox& category_icon(const paint::image& img_expanded, const paint::image&& img_collapsed); + listbox& category_icon(const paint::image& img_expanded, const paint::image& img_collapsed); /// Returns first visible element /**