From 3c43115056a1622d97de05fbc56c38e2013cfc1f Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 5 Nov 2022 16:55:49 -0700 Subject: Slightly more ergonomic support for events without data --- infra/sim.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'infra/sim.h') diff --git a/infra/sim.h b/infra/sim.h index 185916a..b3dd0d3 100644 --- a/infra/sim.h +++ b/infra/sim.h @@ -31,6 +31,10 @@ namespace infra { ++now; } + void pte(const transaction &t, const char *event) { + pt::event(t, event, now, ""); + } + void pte(const transaction &t, const char *event, const std::string &data) { pt::event(t, event, now, data); } -- cgit v1.2.3