[nemiver] Use DBGPerspective::append_breakpoints
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Use DBGPerspective::append_breakpoints
- Date: Sun, 4 Sep 2011 20:19:19 +0000 (UTC)
commit 1377040abdaba98ee30784366403c2f6e61efb85
Author: Dodji Seketeli <dodji seketeli org>
Date: Sun Sep 4 21:31:30 2011 +0200
Use DBGPerspective::append_breakpoints
* src/persp/dbgperspective/nmv-dbg-perspective.cc
(DBGPerspective::on_debugger_breakpoints_set_signal): Use
DBGPerspective::append_breakpoints
instead of walking the
breakpoints and appending them one by one.
src/persp/dbgperspective/nmv-dbg-perspective.cc | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 31fd501..66a95cc 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -2350,9 +2350,7 @@ DBGPerspective::on_debugger_breakpoints_set_signal
(const std::map<int, IDebugger::Breakpoint> &a,
const UString&)
{
- std::map<int, IDebugger::Breakpoint>::const_iterator i;
- for (i = a.begin (); i != a.end (); ++i)
- append_breakpoint (i->second);
+ append_breakpoints (a);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]