Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
ci: build fix (#42)
Browse files Browse the repository at this point in the history
* ci: build fix
  • Loading branch information
shevernitskiy committed Feb 14, 2024
1 parent 3c81d89 commit e7c7633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hook/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Config {
return nt_header->FileHeader.TimeDateStamp;
}

inline toml::v3::ex::parse_result GetOffsetsFile(time_t target_checksum) {
inline toml::parse_result GetOffsetsFile(time_t target_checksum) {
for (const auto& filepath : std::filesystem::recursive_directory_iterator(PATH_OFFSETS)) {
auto file = toml::parse_file(filepath.path().c_str());
if (target_checksum == file["metadata"]["checksum"].value_or<time_t>(0)) {
Expand All @@ -37,7 +37,7 @@ namespace Config {
MessageBoxA(nullptr, message.c_str(), "dfint hook error", MB_ICONERROR);
exit(2);

return toml::v3::ex::parse_result{};
return toml::parse_result{};
}

inline auto config = toml::parse_file("./dfint_data/dfint_config.toml");
Expand Down

0 comments on commit e7c7633

Please sign in to comment.