Skip to content

Commit 488d6c0

Browse files
committed
revert util/time_limit.h OR_DLL remove
1 parent dba6cda commit 488d6c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ortools/util/time_limit.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* Enables changing the behavior of the TimeLimit class to use -b usertime
3939
* instead of \b walltime. This is mainly useful for benchmarks.
4040
*/
41-
ABSL_DECLARE_FLAG(bool, time_limit_use_usertime);
41+
OR_DLL ABSL_DECLARE_FLAG(bool, time_limit_use_usertime);
4242

4343
namespace operations_research {
4444

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

0 commit comments

Comments
 (0)