[nemiver/gtk2-branch] Use DBGPerspective::append_breakpoints
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver/gtk2-branch] Use DBGPerspective::append_breakpoints
- Date: Sun, 4 Sep 2011 20:19:26 +0000 (UTC)
commit a170115b25627aad7b942082c2fe853cfa69fbdd
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 2acfc38..9d9ca27 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -2397,9 +2397,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]