diff options
Diffstat (limited to 'contrib/llvm-project/lldb/include/lldb/Utility/Iterable.h')
-rw-r--r-- | contrib/llvm-project/lldb/include/lldb/Utility/Iterable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/lldb/include/lldb/Utility/Iterable.h b/contrib/llvm-project/lldb/include/lldb/Utility/Iterable.h index 3f9b8b1e4c57..5c38e46feb92 100644 --- a/contrib/llvm-project/lldb/include/lldb/Utility/Iterable.h +++ b/contrib/llvm-project/lldb/include/lldb/Utility/Iterable.h @@ -170,7 +170,7 @@ template <typename C, typename E, E (*A)(typename C::const_iterator &), typename MutexType> class LockingAdaptedIterable : public AdaptedIterable<C, E, A> { public: - LockingAdaptedIterable(C &container, MutexType &mutex) + LockingAdaptedIterable(const C &container, MutexType &mutex) : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) { m_mutex->lock(); } |