summaryrefslogtreecommitdiff
path: root/src/linkgraph
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-10-15 18:31:37 +0000
committerrubidium <rubidium@openttd.org>2014-10-15 18:31:37 +0000
commitd534c80e9401c49414f5980aedff13c6100a20c2 (patch)
treeef6dfe4050f387245c018fb71737a8e0e1c31335 /src/linkgraph
parent155114aa98750b6245e045e347b91d1098d26099 (diff)
downloadopenttd-d534c80e9401c49414f5980aedff13c6100a20c2.tar.xz
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
Diffstat (limited to 'src/linkgraph')
-rw-r--r--src/linkgraph/mcf.cpp2
-rw-r--r--src/linkgraph/refresh.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/linkgraph/mcf.cpp b/src/linkgraph/mcf.cpp
index 81d4d6d38..bd3794a63 100644
--- a/src/linkgraph/mcf.cpp
+++ b/src/linkgraph/mcf.cpp
@@ -311,7 +311,7 @@ void MultiCommodityFlow::CleanupPaths(NodeID source_id, PathVector &paths)
* @param path End of the path the flow should be pushed on.
* @param accuracy Accuracy of the calculation.
* @param max_saturation If < UINT_MAX only push flow up to the given
- * saturation, otherwise the path can be "overloaded".
+ * saturation, otherwise the path can be "overloaded".
*/
uint MultiCommodityFlow::PushFlow(Edge &edge, Path *path, uint accuracy,
uint max_saturation)
diff --git a/src/linkgraph/refresh.h b/src/linkgraph/refresh.h
index 7c221bc22..496729df7 100644
--- a/src/linkgraph/refresh.h
+++ b/src/linkgraph/refresh.h
@@ -101,4 +101,4 @@ protected:
void RefreshLinks(const Order *cur, const Order *next, uint8 flags, uint num_hops = 0);
};
-#endif // REFRESH_H
+#endif /* REFRESH_H */