Index: courgette/adjustment_method.cc |
diff --git a/courgette/adjustment_method.cc b/courgette/adjustment_method.cc |
index 5e9e6d27f527cad0223710bcba25339c760ab70b..7913f8cdd2bb090382ce1946de63c004a2c06ae3 100644 |
--- a/courgette/adjustment_method.cc |
+++ b/courgette/adjustment_method.cc |
@@ -149,7 +149,7 @@ struct Node { |
std::list<Node*> edges_in_frequency_order; |
bool in_queue_; |
- bool Extended() const { return edges_.size() > 0; } |
+ bool Extended() const { return !edges_.empty(); } |
uint32 Weight() const { |
return edges_in_frequency_order.front()->count_; |