From 704c66eaae1009d02307dcf38d6d6d321da62d1f Mon Sep 17 00:00:00 2001 From: liduo Date: Fri, 14 Mar 2025 16:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E8=8C=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/binary_file_packer.h | 2 +- src/restool_errors.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/binary_file_packer.h b/include/binary_file_packer.h index bbc6f94..00c45ed 100644 --- a/include/binary_file_packer.h +++ b/include/binary_file_packer.h @@ -26,7 +26,7 @@ namespace Restool { class BinaryFilePacker { public: explicit BinaryFilePacker(const PackageParser &packageParser, const std::string &moduleName); - ~BinaryFilePacker(); + virtual ~BinaryFilePacker(); std::future CopyBinaryFileAsync(const std::vector &inputs); void StopCopy(); diff --git a/src/restool_errors.cpp b/src/restool_errors.cpp index b306f2d..599285c 100644 --- a/src/restool_errors.cpp +++ b/src/restool_errors.cpp @@ -548,7 +548,7 @@ void PrintError(const ErrorInfo &error) errMsg.append("Error: ").append(error.description_).append("\n"); errMsg.append("Error Message: ").append(error.cause_); if (!error.position_.empty()) { - errMsg.append(" At ").append(error.position_); + errMsg.append(" At file: ").append(error.position_); } errMsg.append("\n"); if (!error.solutions_.empty()) { -- Gitee