Skip to content

Commit c0b5917

Browse files
committed
math_opt: fix xpress_solver build on windows
1 parent 146566e commit c0b5917

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ortools/math_opt/solvers/xpress_solver.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ class ScopedCallback {
102102
if constexpr (std::is_convertible_v<R, int>) return static_cast<int>(1);
103103
}
104104
};
105-
static constexpr proto_type low_level_cb =
106-
ExWrapper<proto_type>::low_level_cb;
105+
const proto_type low_level_cb = ExWrapper<proto_type>::low_level_cb;
107106

108107
public:
109108
CbT or_tools_cb;

0 commit comments

Comments
 (0)