fixed building non debug with visual studio 2010, it wants a virtual destructor if there are any virtual methods.

This commit is contained in:
smf- 2011-05-07 07:04:08 +00:00
parent 86a98de07c
commit 5a49af2303

View File

@ -684,7 +684,7 @@ class address_table
public: public:
// construction/destruction // construction/destruction
address_table(address_space &space, bool large); address_table(address_space &space, bool large);
~address_table(); virtual ~address_table();
// getters // getters
virtual handler_entry &handler(UINT32 index) const = 0; virtual handler_entry &handler(UINT32 index) const = 0;
@ -777,7 +777,7 @@ class address_table_read : public address_table
public: public:
// construction/destruction // construction/destruction
address_table_read(address_space &space, bool large); address_table_read(address_space &space, bool large);
~address_table_read(); virtual ~address_table_read();
// getters // getters
virtual handler_entry &handler(UINT32 index) const; virtual handler_entry &handler(UINT32 index) const;
@ -833,7 +833,7 @@ class address_table_write : public address_table
public: public:
// construction/destruction // construction/destruction
address_table_write(address_space &space, bool large); address_table_write(address_space &space, bool large);
~address_table_write(); virtual ~address_table_write();
// getters // getters
virtual handler_entry &handler(UINT32 index) const; virtual handler_entry &handler(UINT32 index) const;