diff options
Diffstat (limited to 'dab')
-rw-r--r-- | dab/algor.h | 3 | ||||
-rw-r--r-- | dab/player.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dab/algor.h b/dab/algor.h index af0be629..24f438d0 100644 --- a/dab/algor.h +++ b/dab/algor.h @@ -1,4 +1,4 @@ -/* $NetBSD: algor.h,v 1.2 2005/08/09 02:38:32 christos Exp $ */ +/* $NetBSD: algor.h,v 1.3 2006/05/14 03:21:52 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -51,6 +51,7 @@ class BOX; class ALGOR : public PLAYER { public: ALGOR(const char c); + virtual ~ALGOR() {} // Return a proposed move in (y, x, dir) void play(const BOARD& b, size_t& y, size_t& x, int& dir); diff --git a/dab/player.h b/dab/player.h index 514b9b77..0000c926 100644 --- a/dab/player.h +++ b/dab/player.h @@ -1,4 +1,4 @@ -/* $NetBSD: player.h,v 1.1.1.1 2003/12/26 17:57:03 christos Exp $ */ +/* $NetBSD: player.h,v 1.2 2006/05/14 03:21:52 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -49,6 +49,7 @@ class BOARD; class PLAYER { public: PLAYER(char who); + virtual ~PLAYER() {} virtual void play(const BOARD& b, size_t& y, size_t& x, int& dir) = 0; // Helper functions |