From c7bfc9fbbd5cac237418d5a05b4e31b062a59592 Mon Sep 17 00:00:00 2001 From: Liang Xianwei <819069052@qq.com> Date: Wed, 4 Jun 2025 16:02:37 +0800 Subject: [PATCH] Update autolog.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题描述 编译时报错:`std` 没有成员 `accumulate`。 解决方案 添加 `` 头文件以引入 `std::accumulate` 的函数定义。 影响范围 仅修复编译错误,不影响现有逻辑。 --- auto_log/autolog.h | 1 + 1 file changed, 1 insertion(+) diff --git a/auto_log/autolog.h b/auto_log/autolog.h index 7deec0a..f94ad1b 100644 --- a/auto_log/autolog.h +++ b/auto_log/autolog.h @@ -21,6 +21,7 @@ #include #include #include +#include class AutoLogger {