Skip to content

Commit 89c57dd

Browse files
committed
Improved code [skip ci]
1 parent 34c2891 commit 89c57dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ext/or-tools/constraint.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,10 @@ void init_constraint(Rice::Module& m) {
502502
if (!callback.is_nil()) {
503503
done = true;
504504
ruby_thread.call("value");
505-
}
506505

507-
if (exception.has_value()) {
508-
throw exception.value();
506+
if (exception.has_value()) {
507+
throw exception.value();
508+
}
509509
}
510510

511511
return r;

0 commit comments

Comments
 (0)