It is removed as of C++17.
Change-Id: I1fa47528de13bb9d541cbb3b6b48addfb0fd5e79
Signed-off-by: György Straub <g.straub@partner.samsung.com>
-struct CollectNodes : public std::unary_function<TreeNode*, void>
{
CollectNodes() {};
/*
* Call operator to add nodes to the list
*/
{
CollectNodes() {};
/*
* Call operator to add nodes to the list
*/
- result_type operator()(argument_type& n)
+ void operator()(TreeNode*& n)
{
DALI_ASSERT_DEBUG(n && "Operation on NULL JSON node");
nodes.push_back(n);
{
DALI_ASSERT_DEBUG(n && "Operation on NULL JSON node");
nodes.push_back(n);