diff --git a/src/vt/timing/timing_type.h b/src/vt/timing/timing_type.h index 2ad0ba7ba9..0965f43764 100644 --- a/src/vt/timing/timing_type.h +++ b/src/vt/timing/timing_type.h @@ -162,6 +162,8 @@ struct TimeTypeWrapper { std::chrono::duration time_; }; +static_assert(std::is_trivially_copyable_v, "TimeTypeWrapper must be trivially_copyable"); + using TimeType = TimeTypeWrapper; } /* end namespace vt */