Merge "No longer using std::unary_function<>." into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 7 Aug 2020 14:06:30 +0000 (14:06 +0000)
committerGerrit Code Review <gerrit@review>
Fri, 7 Aug 2020 14:06:30 +0000 (14:06 +0000)
dali-toolkit/internal/builder/tree-node-manipulator.h

index 267c69e..eaea13e 100644 (file)
@@ -198,14 +198,14 @@ private:
 /*
  * Collect nodes
  */
-struct CollectNodes : public std::unary_function<TreeNode*, void>
+struct CollectNodes
 {
   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);