Silence an ambiguous else warning from GCC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2010-09-02 07:08:05 +00:00
parent 59b4d2a371
commit 4315093eb7

View File

@ -173,12 +173,13 @@ namespace PBQP {
bool finished = false;
while (!finished) {
if (!optimalReduce())
if (!optimalReduce()) {
if (impl().heuristicReduce()) {
getSolver().recordRN();
} else {
finished = true;
}
}
}
}