Fix gcc-2.95 compatibility, and supress new warnings from gc-4.0 in protected_call.

[SVN r29407]
This commit is contained in:
John Maddock
2005-06-03 16:10:54 +00:00
parent 80eb2c2bee
commit 90b647cdd7
2 changed files with 19 additions and 0 deletions

View File

@ -31,6 +31,8 @@ class BOOST_REGEX_DECL abstract_protected_call
{
public:
bool BOOST_REGEX_CALL execute()const;
// this stops gcc-4 from complaining:
virtual ~abstract_protected_call(){}
private:
virtual bool call()const = 0;
};