summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
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;