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 Nov 27, 2023
1 parent 710290c commit 77e02fb
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 77e02fb

Please sign in to comment.