fix a compilation error
This commit is contained in:
parent
25fe4506fd
commit
0771c1e084
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* A Categorize Implementation
|
* A Categorize Implementation
|
||||||
* Nana C++ Library(http://www.nanapro.org)
|
* Nana C++ Library(http://www.nanapro.org)
|
||||||
* Copyright(C) 2003-2017 Jinhao(cnjinhao@hotmail.com)
|
* Copyright(C) 2003-2020 Jinhao(cnjinhao@hotmail.com)
|
||||||
*
|
*
|
||||||
* Distributed under the Boost Software License, Version 1.0.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
@ -248,7 +248,7 @@ namespace nana
|
|||||||
/// Retrieves a reference of the current category's value type object. If current category is empty, it throws a exception of std::runtime_error.
|
/// Retrieves a reference of the current category's value type object. If current category is empty, it throws a exception of std::runtime_error.
|
||||||
value_type& value() const
|
value_type& value() const
|
||||||
{
|
{
|
||||||
return this->get_drawer_trigger().value();
|
return nana::any_cast<value_type&>(this->get_drawer_trigger().value());
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
//Overrides widget's virtual functions
|
//Overrides widget's virtual functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user