projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216b276
)
snapshot-interface: bugfix - reorder constructor params
author
Brian Norris
<banorris@uci.edu>
Thu, 3 Jan 2013 20:17:37 +0000
(12:17 -0800)
committer
Brian Norris
<banorris@uci.edu>
Thu, 3 Jan 2013 20:17:37 +0000
(12:17 -0800)
The snapshot_id should come first.
snapshot-interface.cc
patch
|
blob
|
history
diff --git
a/snapshot-interface.cc
b/snapshot-interface.cc
index cd1eceea744b2262f2899542aa59dd0ece45db88..57ac52ee25ba541da665b1440c5ab0e7a7bead35 100644
(file)
--- a/
snapshot-interface.cc
+++ b/
snapshot-interface.cc
@@
-148,7
+148,7
@@
int SnapshotStack::backTrackBeforeStep(int seqindex)
/** This method takes a snapshot at the given sequence number. */
void SnapshotStack::snapshotStep(int seqindex)
{
- stack.push_back(snapshot_entry(
seqindex, take_snapshot()
));
+ stack.push_back(snapshot_entry(
take_snapshot(), seqindex
));
}
void snapshot_stack_init()