From 64fa7349d52d41bde86c8e07ddc157a1e50a1384 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 3 Jan 2013 12:17:37 -0800 Subject: [PATCH] snapshot-interface: bugfix - reorder constructor params The snapshot_id should come first. --- snapshot-interface.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshot-interface.cc b/snapshot-interface.cc index cd1eceea..57ac52ee 100644 --- 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() -- 2.34.1