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
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2019-12-13 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* jit.c: Fix indentation, replace spaces with tabs where
|
* jit.c: Fix indentation, replace spaces with tabs where
|
||||||
|
|
|
@ -117,12 +117,12 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator begin () const
|
iterator begin ()
|
||||||
{
|
{
|
||||||
return iterator (m_range.begin (), m_range.end ());
|
return iterator (m_range.begin (), m_range.end ());
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator end () const
|
iterator end ()
|
||||||
{
|
{
|
||||||
return iterator (m_range.end (), m_range.end ());
|
return iterator (m_range.end (), m_range.end ());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue