- Explicitly provide the parameter as default parameter for stl iterator is deprecated.
Signed-off-by: hyeonseok lee <hs89.lee@samsung.com>
*/
template <typename LayerNodeType, typename GraphNodeType>
class GraphNodeIterator
- : public std::iterator<std::random_access_iterator_tag, GraphNodeType> {
+ : public std::iterator<std::random_access_iterator_tag, GraphNodeType,
+ std::ptrdiff_t, GraphNodeType *, GraphNodeType &> {
GraphNodeType *p; /** underlying object of GraphNode */
public: