From 0000171fb57845376af7a496449291f4d101e635 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 14 May 2006 06:38:04 +0000 Subject: Add a virtual destructor to avoid "future ABI issues". I love c++. --- dab/human.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dab') diff --git a/dab/human.h b/dab/human.h index b245ee1a..abfe3dee 100644 --- a/dab/human.h +++ b/dab/human.h @@ -1,4 +1,4 @@ -/* $NetBSD: human.h,v 1.1.1.1 2003/12/26 17:57:03 christos Exp $ */ +/* $NetBSD: human.h,v 1.2 2006/05/14 06:38:04 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -50,6 +50,7 @@ class BOARD; class HUMAN : public PLAYER { public: HUMAN(const char c); + virtual ~HUMAN() {} // Return move in y, x, and dir void play(const BOARD& b, size_t& y, size_t& x, int& dir); private: -- cgit v1.2.3-56-ge451