diff options
Diffstat (limited to 'include/llvm/ADT/PostOrderIterator.h')
| -rw-r--r-- | include/llvm/ADT/PostOrderIterator.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index 7f6350e4443e..59fa3f39c91e 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -260,7 +260,7 @@ class ReversePostOrderTraversal {    typedef typename GT::NodeType NodeType;    std::vector<NodeType*> Blocks;       // Block list in normal PO order    inline void Initialize(NodeType *BB) { -    copy(po_begin(BB), po_end(BB), back_inserter(Blocks)); +    std::copy(po_begin(BB), po_end(BB), std::back_inserter(Blocks));    }  public:    typedef typename std::vector<NodeType*>::reverse_iterator rpo_iterator; | 
