summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/queue.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-02 19:47:21 +0000
committeralberth <alberth@openttd.org>2010-10-02 19:47:21 +0000
commit6802527e02109936e06c31a2b22da1471054a2f5 (patch)
tree0faf59862f449a89199f841375119383af740e05 /src/pathfinder/npf/queue.h
parent4af4d268d875c0dc09b5e1cea77d52b07dc3ec6e (diff)
downloadopenttd-6802527e02109936e06c31a2b22da1471054a2f5.tar.xz
(svn r20887) -Codechange: Make stat_Hash a method.
Diffstat (limited to 'src/pathfinder/npf/queue.h')
-rw-r--r--src/pathfinder/npf/queue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pathfinder/npf/queue.h b/src/pathfinder/npf/queue.h
index 69c1602df..51b097a16 100644
--- a/src/pathfinder/npf/queue.h
+++ b/src/pathfinder/npf/queue.h
@@ -103,6 +103,11 @@ struct Hash {
{
return this->size;
}
+
+protected:
+#ifdef HASH_STATS
+ void PrintStatistics() const;
+#endif
};
#endif /* QUEUE_H */