Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
danil179 committed Oct 5, 2023
1 parent 19b0a8c commit 4427361
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/framework/crc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void Sha256::fromString(std::string const &s)
}
}

void to_json(nlohmann::json& j, const Sha256& k)
inline void to_json(nlohmann::json& j, const Sha256& k)
{
if (k.isZero())
{
Expand Down
1 change: 1 addition & 0 deletions lib/framework/geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include "frame.h"
#include "vector.h"
#include <algorithm>
#include <limits>

/**
Expand Down
1 change: 1 addition & 0 deletions lib/framework/wzglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@
# undef NOMINMAX
# define NOMINMAX 1 // disable the min / max macros
# include <windows.h>
# include <algorithm>

# if defined(WZ_CC_MSVC)

Expand Down

0 comments on commit 4427361

Please sign in to comment.