diff options
Diffstat (limited to 'include/lldb/Utility/Iterable.h')
-rw-r--r-- | include/lldb/Utility/Iterable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/lldb/Utility/Iterable.h b/include/lldb/Utility/Iterable.h index 17335373e72d..17c8cf4d2319 100644 --- a/include/lldb/Utility/Iterable.h +++ b/include/lldb/Utility/Iterable.h @@ -25,6 +25,11 @@ template <typename I, typename E> E vector_adapter(I &iter) return *iter; } +template <typename I, typename E> E list_adapter(I &iter) +{ + return *iter; +} + template <typename C, typename E, E (*A)(typename C::const_iterator &)> class AdaptedConstIterator { public: |