From 78c4103171732369725487b5f0e43816e1ea1256 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: 周三, 28 5月 2025 16:58:22 +0800 Subject: [PATCH] 修复了缺少头文件编译报错的问题 --- test/library/hw_identifier/hw_identifier_facade_test.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/library/hw_identifier/hw_identifier_facade_test.cpp b/test/library/hw_identifier/hw_identifier_facade_test.cpp index 1a47b38..f0df625 100644 --- a/test/library/hw_identifier/hw_identifier_facade_test.cpp +++ b/test/library/hw_identifier/hw_identifier_facade_test.cpp @@ -14,7 +14,7 @@ * 2) save it to disk * 3) every time check that the identifier can still be verified. */ -static void generate_reference_file(const string &idfileLocation, LCC_API_IDENTIFICATION_STRATEGY strategies[], +static void generate_reference_file(const string &idfileLocation, LCC_API_HW_IDENTIFICATION_STRATEGY strategies[], int num_strategies) { ofstream idfile(idfileLocation); PcSignature identifier_out; @@ -32,7 +32,7 @@ BOOST_AUTO_TEST_CASE(generated_identifiers_stability) { const string idfileLocation(PROJECT_TEST_TEMP_DIR "/identifiers_file"); - std::vector<LCC_API_IDENTIFICATION_STRATEGY> strategies; + std::vector<LCC_API_HW_IDENTIFICATION_STRATEGY> strategies; size_t disk_num; getDiskInfos(NULL, &disk_num); if (disk_num > 0) { -- Gitblit v1.9.1