Skip to content

Commit

Permalink
algorithms: sync with google3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jul 7, 2023
1 parent 67b8e82 commit 2ed2a69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ortools/algorithms/set_cover_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

#include <limits>
#include <vector>
#if defined(_MSC_VER)
#include <basetsd.h>
#define ssize_t SSIZE_T
#endif

#include "ortools/algorithms/set_cover_ledger.h"
#include "ortools/algorithms/set_cover_model.h"
Expand Down Expand Up @@ -89,7 +93,7 @@ class SubsetPriorityQueue {
}

// Returns the size of the queue.
int Size() const { return max_pq_.Size(); }
ssize_t Size() const { return max_pq_.Size(); }

private:
// Initializes the priority queue.
Expand Down

0 comments on commit 2ed2a69

Please sign in to comment.