Skip to content

Commit

Permalink
Simplfy the functor
Browse files Browse the repository at this point in the history
  • Loading branch information
Isarhamster committed Jul 1, 2024
1 parent 4a6c1ec commit 3be92f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/polyglotdatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using namespace chessx;

#define MAX_COUNT 16384

struct key_compare : std::function< bool(const book_entry&, const book_entry&) >
struct key_compare
{
bool operator()( const book_entry& a, const book_entry& b ) const
{
Expand Down

0 comments on commit 3be92f4

Please sign in to comment.