From c5b38f36434832ca86eb6661d8bb21eadf3420d4 Mon Sep 17 00:00:00 2001 From: ErrorFlynn Date: Thu, 18 Apr 2019 17:12:31 -0400 Subject: [PATCH] bug: second parameter of category_icon() is rvalue reference --- source/gui/widgets/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/widgets/listbox.cpp b/source/gui/widgets/listbox.cpp index 3e127628..eaed5195 100644 --- a/source/gui/widgets/listbox.cpp +++ b/source/gui/widgets/listbox.cpp @@ -6042,7 +6042,7 @@ namespace nana return *this; } - listbox& listbox::category_icon(const paint::image& img_expanded, const paint::image&& img_collapsed) + listbox& listbox::category_icon(const paint::image& img_expanded, const paint::image& img_collapsed) { internal_scope_guard lock; _m_ess().ctg_icon_renderer = [img_expanded, img_collapsed](paint::graphics& graph, const rectangle& rt_icon, bool expanded)