Skip to content

Commit

Permalink
Fix the build on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 3, 2013
1 parent d983475 commit 286d34c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion solvers/gecode/gecode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ inline bool operator==(
const Gecode::IntValBranch &lhs, const Gecode::IntValBranch &rhs) {
return lhs.select() == rhs.select();
}
}

std::ostream &operator<<(std::ostream &os, const Gecode::IntValBranch &b) {
namespace Gecode {
std::ostream &operator<<(std::ostream &os, const IntValBranch &b) {
return os << b.select();
}
}
Expand Down

0 comments on commit 286d34c

Please sign in to comment.