Skip to content

Commit

Permalink
Fix MSVC-Clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Mar 3, 2025
1 parent 7867c22 commit 14c2003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/momo/TreeSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ class TreeSet
const TreeTraits& mTreeTraits;
};

#if !(defined(_MSC_VER) && defined(__clang__)) // msvc-clang 19.1.1
template<typename KeyArg, bool includeEqual>
requires requires (const KeyArg& key1, const Key& key2)
{
Expand All @@ -523,6 +524,7 @@ class TreeSet
private:
const KeyArg& mKey;
};
#endif

public:
TreeSet()
Expand Down

0 comments on commit 14c2003

Please sign in to comment.