From a1b64080d1525a7a65e53f33d1a3fd257957e732 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 15 3月 2020 11:00:39 +0800 Subject: [PATCH] fix compilation errors --- test/functional/crack_test.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/functional/crack_test.cpp b/test/functional/crack_test.cpp index bb437d7..b427928 100644 --- a/test/functional/crack_test.cpp +++ b/test/functional/crack_test.cpp @@ -1,3 +1,4 @@ + #define BOOST_TEST_MODULE standard_license_test #include <boost/test/unit_test.hpp> @@ -9,7 +10,7 @@ #include <iostream> #include "../../src/library/ini/SimpleIni.h" #include "generate-license.h" -#include "../../src/library/base/FileUtils.hpp" +#include "../../src/library/base/file_utils.hpp" namespace license { namespace test { @@ -30,7 +31,7 @@ std::copy(licLocation.begin(), licLocation.end(), location.licenseData); // magic should be 0 for this build... CallerInformations callInfo{{0}, {0}, 42}; - const EVENT_TYPE result = acquire_license(&callInfo, &location, &license); + const LCC_EVENT_TYPE result = acquire_license(&callInfo, &location, &license); BOOST_CHECK_EQUAL(result, LICENSE_CORRUPTED); } -- Gitblit v1.9.1