diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h index f74d18f65..7cdc29e44 100644 --- a/cc/trees/layer_tree_impl.h +++ b/cc/trees/layer_tree_impl.h @@ -194,7 +194,7 @@ class CC_EXPORT LayerTreeImpl { // Adapts an iterator of std::unique_ptr to an iterator of // LayerImpl*. template - class IteratorAdapter { + class IteratorAdapter : public std::iterator { public: explicit IteratorAdapter(Iterator it) : it_(it) {} bool operator==(IteratorAdapter o) const { return it_ == o.it_; }