Skip to content

Commit

Permalink
[virtual machine] added explanatory comment for load_snapshots_common…
Browse files Browse the repository at this point in the history
… method.
  • Loading branch information
georgeliao committed Dec 11, 2023
1 parent b7d73f8 commit 69d81b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/backends/shared/base_virtual_machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ class BaseVirtualMachine : public VirtualMachine
private:
using SnapshotMap = std::unordered_map<std::string, std::shared_ptr<Snapshot>>;

// the number of args is either 0 or 3, eventually this forwarding will lead to calling make_specific_snapshot
// with one filename argument or that one plus other three arguments.
template <typename... Args>
void load_snapshots_common(Args&&... args);
template <typename LockT>
Expand Down

0 comments on commit 69d81b9

Please sign in to comment.