summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-10 00:35:26 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-10 00:35:26 +0000
commit5cd65ca8c6e1dd6ab026524171f857a0fd7ffdca (patch)
treecf2e561ae185b37f3f34b6e7c7f7879755793ad2 /crawl-ref/source/beam.cc
parentbbc87d91594a2f5efad548e497c4c75c6f762742 (diff)
downloadcrawl-ref-5cd65ca8c6e1dd6ab026524171f857a0fd7ffdca.tar.gz
crawl-ref-5cd65ca8c6e1dd6ab026524171f857a0fd7ffdca.zip
Added range information to alternate spell display (dpeg).
Quelled a warning on lack of virtual destructors. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7205 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index dfb88d11f7..0ecfe0b823 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -325,6 +325,7 @@ template<typename T>
struct power_deducer
{
virtual T operator()(int pow) const = 0;
+ virtual ~power_deducer() {}
};
typedef power_deducer<int> tohit_deducer;