From 14400137ce418863ef0e0179a2f62cb6130f4027 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Thu, 13 May 1999 02:25:13 +0000 Subject: [PATCH] make destructors virtual git-svn-id: svn://10.0.0.236/trunk@31380 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/robot/nsDebugRobot.cpp | 4 ++-- mozilla/parser/htmlparser/robot/nsDebugRobot.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/htmlparser/robot/nsDebugRobot.cpp b/mozilla/htmlparser/robot/nsDebugRobot.cpp index e2b4ad79e27..b9a14930676 100644 --- a/mozilla/htmlparser/robot/nsDebugRobot.cpp +++ b/mozilla/htmlparser/robot/nsDebugRobot.cpp @@ -35,7 +35,7 @@ public: NS_INIT_REFCNT(); } - ~RobotSinkObserver() { + virtual ~RobotSinkObserver() { } NS_DECL_ISUPPORTS @@ -121,7 +121,7 @@ public: } - ~CStreamListener() { + virtual ~CStreamListener() { } NS_DECL_ISUPPORTS diff --git a/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp b/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp index e2b4ad79e27..b9a14930676 100644 --- a/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp +++ b/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp @@ -35,7 +35,7 @@ public: NS_INIT_REFCNT(); } - ~RobotSinkObserver() { + virtual ~RobotSinkObserver() { } NS_DECL_ISUPPORTS @@ -121,7 +121,7 @@ public: } - ~CStreamListener() { + virtual ~CStreamListener() { } NS_DECL_ISUPPORTS