mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Fix the gdb build with GCC 7
The Solaris buildbot builder complained about some recent patches of mine. Building with GCC 7 failed. This patch fixes the bug. I'm checking it in. gdb/ChangeLog 2019-12-13 Tom Tromey <tromey@adacore.com> * gdbsupport/safe-iterator.h (class basic_safe_range) <begin, end>: No longer "const". Change-Id: I5f428fab61087f467ac3b6475f4ef4dbd314fcb0
This commit is contained in:
parent
3a90f26667
commit
a5513db2f5
@ -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
|
||||
|
@ -117,12 +117,12 @@ class basic_safe_range
|
||||
{
|
||||
}
|
||||
|
||||
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 ());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user