diff --git a/oi/OITraceCode.cpp b/oi/OITraceCode.cpp index a100900..323c83e 100644 --- a/oi/OITraceCode.cpp +++ b/oi/OITraceCode.cpp @@ -160,15 +160,14 @@ template struct DummyAllocator : DummyAllocatorBase {}; -template -struct validate_size { +template +struct validate_size_eq { static constexpr bool value = true; static_assert(ExpectedSize == ActualSize); }; template -struct validate_size - : validate_size {}; +struct validate_size : validate_size_eq {}; template struct validate_offset {