diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-20 22:21:29 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-20 22:21:29 +0100 |
commit | bf288cdaff4633e2898b707b70a8c8b353af174b (patch) | |
tree | 9fa4f4e1f60e7ce270e099d15f5aa3b091972f8c /crawl-ref/source/directn.cc | |
parent | 1a1d9ecee355cbea8bfc8d463faaae1d4d3fd2c2 (diff) | |
download | crawl-ref-bf288cdaff4633e2898b707b70a8c8b353af174b.tar.gz crawl-ref-bf288cdaff4633e2898b707b70a8c8b353af174b.zip |
Remove unused crawl_exit_hook.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index cec4ffa732..1a9ec50efa 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -876,19 +876,6 @@ static int _mlist_letter_to_index(char idx) } #endif -crawl_exit_hook::crawl_exit_hook() -{ - crawl_state.exit_hooks.push_back(this); -} - -crawl_exit_hook::~crawl_exit_hook() -{ - crawl_state.exit_hooks.erase(std::remove(crawl_state.exit_hooks.begin(), - crawl_state.exit_hooks.end(), - this), - crawl_state.exit_hooks.end()); -} - range_view_annotator::range_view_annotator(int range) { if (Options.darken_beyond_range && range >= 0) |