Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Oct 27, 2024
1 parent 32373dc commit bae7d57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/fmi4cpp/fmi2/fmi2_library.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ class fmi2_library

fmi2FreeInstanceTYPE* fmi2FreeInstance_;

private:
#ifdef _WIN32
DLL_DIRECTORY_COOKIE dllDirectoryCookie_ = nullptr;
#endif

protected:
fmi2Status lastStatus_;
DLL_HANDLE handle_ = nullptr;
Expand Down
4 changes: 2 additions & 2 deletions src/fmi4cpp/fmi2/fmi2_library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ std::string to_string(fmi2Status status)
}
}

void logger(void* fmi2ComponentEnvironment, fmi2String instance_name, fmi2Status status, fmi2String category,
void logger(void* /*fmi2ComponentEnvironment*/, fmi2String instance_name, fmi2Status status, fmi2String category,
fmi2String message, ...)
{
char msg[1000];
Expand Down Expand Up @@ -62,7 +62,7 @@ fmi2_library::fmi2_library(const std::string& modelIdentifier, const std::shared

#ifdef _WIN32
std::string dllDirectory;
fmi4cpp::fs::path path(libName);
std::filesystem::path path(libName);

if (path.has_parent_path()) {
dllDirectory = path.parent_path().string();
Expand Down

0 comments on commit bae7d57

Please sign in to comment.