Skip to content

Commit

Permalink
revert util/time_limit.h OR_DLL remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Feb 6, 2025
1 parent 96984c3 commit 88d6963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ortools/util/time_limit.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Enables changing the behavior of the TimeLimit class to use -b usertime
* instead of \b walltime. This is mainly useful for benchmarks.
*/
ABSL_DECLARE_FLAG(bool, time_limit_use_usertime);
OR_DLL ABSL_DECLARE_FLAG(bool, time_limit_use_usertime);

namespace operations_research {

Expand Down Expand Up @@ -91,7 +91,7 @@ namespace operations_research {
*/
// TODO(user): The expression "deterministic time" should be replaced with
// "number of operations" to avoid confusion with "real" time.
class TimeLimit {
class OR_DLL TimeLimit {
public:
static const double kSafetyBufferSeconds; // See the .cc for the value.
static const int kHistorySize;
Expand Down

0 comments on commit 88d6963

Please sign in to comment.