From 7d313aaade39f51d7d4a41104b9999cc7275faf0 Mon Sep 17 00:00:00 2001 From: RangerUFO Date: Sat, 19 Oct 2024 21:30:30 +0800 Subject: [PATCH] Fix compilation errors of "compress_weights" target --- compression/compress.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compression/compress.h b/compression/compress.h index 7453310..172c86a 100644 --- a/compression/compress.h +++ b/compression/compress.h @@ -444,8 +444,10 @@ class CompressStats { char padding_[64]; // prevent false sharing }; #else +class DistortionStats; + struct CompressStats { - void Notify(...) {} + void Notify(const DistortionStats&) {} void NotifyIn(int) {} void Assimilate(const CompressStats&) {} void PrintAll() {}