diff --git a/mailnews/news/src/nsNNTPArticleList.cpp b/mailnews/news/src/nsNNTPArticleList.cpp index 252f993b738c..acaaf4ab37f7 100644 --- a/mailnews/news/src/nsNNTPArticleList.cpp +++ b/mailnews/news/src/nsNNTPArticleList.cpp @@ -26,7 +26,7 @@ typedef PRUint32 nsMsgKey; -class nsNNTPArticleList : nsINNTPArticleList +class nsNNTPArticleList : public nsINNTPArticleList #ifdef HAVE_CHANGELISTENER : public ChangeListener #endif diff --git a/mailnews/news/src/nsNNTPNewsgroupPost.cpp b/mailnews/news/src/nsNNTPNewsgroupPost.cpp index 3fcc09d57891..3d68140933a4 100644 --- a/mailnews/news/src/nsNNTPNewsgroupPost.cpp +++ b/mailnews/news/src/nsNNTPNewsgroupPost.cpp @@ -57,7 +57,7 @@ #define HEADER_LAST HEADER_MESSAGEID -class nsNNTPNewsgroupPost : nsINNTPNewsgroupPost { +class nsNNTPNewsgroupPost : public nsINNTPNewsgroupPost { public: nsNNTPNewsgroupPost();