diff --git a/test/src/json/json.node-time.native-github_events.hxx b/test/src/json/json.node-time.native-github_events.hxx index 6691e85b..04b9d9c0 100644 --- a/test/src/json/json.node-time.native-github_events.hxx +++ b/test/src/json/json.node-time.native-github_events.hxx @@ -575,17 +575,17 @@ namespace cxon { using namespace test::github_events; switch (t->type) { case payload::push_event: - return write_value(o, static_cast(t), cx); + return write_value(o, static_cast(*t), cx); case payload::create_event: - return write_value(o, static_cast(t), cx); + return write_value(o, static_cast(*t), cx); case payload::fork_event: - return write_value(o, static_cast(t), cx); + return write_value(o, static_cast(*t), cx); case payload::issue_comment_event: - return write_value(o, static_cast(t), cx); + return write_value(o, static_cast(*t), cx); case payload::watch_event: - return write_value(o, static_cast(t), cx); + return write_value(o, static_cast(*t), cx); case payload::gollum_event: - return write_value(o, static_cast(t), cx); + return write_value(o, static_cast(*t), cx); } return false; }