From: Owen Anderson Date: Fri, 15 Aug 2008 18:45:51 +0000 (+0000) Subject: Add a value_type typedef to SmallVector, to make it more compatible with STL adapters. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0c5a560b034b377e3966833de30167e9030b5cc8;p=oota-llvm.git Add a value_type typedef to SmallVector, to make it more compatible with STL adapters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54819 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h index d98d40a3f39..05952a4490e 100644 --- a/include/llvm/ADT/SmallVector.h +++ b/include/llvm/ADT/SmallVector.h @@ -90,6 +90,7 @@ public: } typedef size_t size_type; + typedef T value_type; typedef T* iterator; typedef const T* const_iterator;