diff options
author | alberth <alberth@openttd.org> | 2010-10-02 19:47:21 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-10-02 19:47:21 +0000 |
commit | 6802527e02109936e06c31a2b22da1471054a2f5 (patch) | |
tree | 0faf59862f449a89199f841375119383af740e05 /src/pathfinder/npf/queue.h | |
parent | 4af4d268d875c0dc09b5e1cea77d52b07dc3ec6e (diff) | |
download | openttd-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.h | 5 |
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 */ |