Skip to content

Commit

Permalink
Merge pull request #16 from rlcevg/m4
Browse files Browse the repository at this point in the history
Fix for C++17 and gcc10
  • Loading branch information
rtri authored Jul 24, 2020
2 parents e8a2b70 + 3ad88a7 commit 91fd31e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/circuit/terrain/BlockingMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <vector>
#include <map>
#include <string>

#define GRID_RATIO_LOW 8
#define STRUCT_BIT(bits) static_cast<SBlockingMap::SM>(SBlockingMap::StructMask::bits)
Expand Down
2 changes: 1 addition & 1 deletion src/circuit/util/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ template<typename T> static inline constexpr T SQUARE(T x) { return x * x; }
typedef std::vector<springai::AIFloat3> F3Vec;

struct cmp_str {
bool operator()(char const* a, char const* b) {
bool operator()(char const* a, char const* b) const {
return strcmp(a, b) < 0;
}
};
Expand Down

0 comments on commit 91fd31e

Please sign in to comment.