Skip to content

Commit f6b59de

Browse files
committed
Merge branch 'master' of github.com:google/or-tools
2 parents 65dfdd2 + 60b3dd7 commit f6b59de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ortools/sat/cp_model.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ LinearExpr IntVar::AddConstant(int64_t value) const {
130130
return LinearExpr(*this).AddConstant(value);
131131
}
132132

133-
Domain IntVar::Domain() const {
133+
::operations_research::Domain IntVar::Domain() const {
134134
if (builder_ == nullptr) return Domain();
135135
return ReadDomainFromProto(builder_->Proto().variables(index_));
136136
}

ortools/sat/cp_model.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class IntVar {
173173
}
174174

175175
// Returns the domain of the variable.
176-
Domain Domain() const;
176+
::operations_research::Domain Domain() const;
177177

178178
std::string DebugString() const;
179179

0 commit comments

Comments
 (0)