aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbsupport/safe-iterator.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81f70f2..f3ee0ba 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-13 Tom Tromey <tromey@adacore.com>
+
+ * gdbsupport/safe-iterator.h (class basic_safe_range) <begin,
+ end>: No longer "const".
+
2019-12-13 Simon Marchi <simon.marchi@polymtl.ca>
* jit.c: Fix indentation, replace spaces with tabs where
diff --git a/gdb/gdbsupport/safe-iterator.h b/gdb/gdbsupport/safe-iterator.h
index 1a98b42..61af92a 100644
--- a/gdb/gdbsupport/safe-iterator.h
+++ b/gdb/gdbsupport/safe-iterator.h
@@ -117,12 +117,12 @@ public:
{
}
- iterator begin () const
+ iterator begin ()
{
return iterator (m_range.begin (), m_range.end ());
}
- iterator end () const
+ iterator end ()
{
return iterator (m_range.end (), m_range.end ());
}