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] 修复了缺少头文件编译报错的问题 --- src/library/locate/LocatorStrategy.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp index 8bde5f1..04c722d 100644 --- a/src/library/locate/LocatorStrategy.cpp +++ b/src/library/locate/LocatorStrategy.cpp @@ -7,15 +7,15 @@ #include <licensecc_properties.h> -#include "../base/FileUtils.hpp" #include "LocatorStrategy.hpp" +#include "../base/file_utils.hpp" namespace license { namespace locate { using namespace std; const string LocatorStrategy::retrieve_license_content(const string &licenseLocation) const { - return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH); + return get_file_contents(licenseLocation.c_str(), LCC_API_MAX_LICENSE_DATA_LENGTH); } } // namespace locate -- Gitblit v1.9.1