summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
Diffstat (limited to 'library/include')
-rw-r--r--library/include/RemoteServer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/include/RemoteServer.h b/library/include/RemoteServer.h
index d89b4495..7a6940bb 100644
--- a/library/include/RemoteServer.h
+++ b/library/include/RemoteServer.h
@@ -65,6 +65,7 @@ namespace DFHack
RPCService *owner, const char *name, int flags)
: RPCFunctionBase(in, out), name(name), flags(flags), owner(owner), id(-1)
{}
+ virtual ~ServerFunctionBase() {}
RPCService *owner;
int16_t id;