hrev49615 adds 1 changeset to branch 'master'
old head: 9ed8f484983a77a3b88adfa41e4136501b6df4b3
new head: a1e25f862c57d140edebd329adab26532efbe43d
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=a1e25f862c57+%5E9ed8f484983a
----------------------------------------------------------------------------
a1e25f862c57: Mail: Fix gcc4 build.
- Fix typo in forward declaration.
- Add missing include for snprintf.
- Add missing virtual destructor on QueryListener abstract class.
[ Rene Gollent <rene@xxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev49615
Commit: a1e25f862c57d140edebd329adab26532efbe43d
URL: http://cgit.haiku-os.org/haiku/commit/?id=a1e25f862c57
Author: Rene Gollent <rene@xxxxxxxxxxx>
Date: Fri Sep 4 20:57:06 2015 UTC
----------------------------------------------------------------------------
4 files changed, 13 insertions(+), 2 deletions(-)
src/apps/mail/Content.h | 2 +-
src/apps/mail/People.cpp | 2 ++
src/apps/mail/QueryList.cpp | 10 +++++++++-
src/apps/mail/QueryList.h | 1 +
----------------------------------------------------------------------------
diff --git a/src/apps/mail/Content.h b/src/apps/mail/Content.h
index 5f3b39d..f75d056 100644
--- a/src/apps/mail/Content.h
+++ b/src/apps/mail/Content.h
@@ -61,7 +61,7 @@ class TScrollView;
class TTextView;
class BFile;
class BList;
-class BPopupMenu;
+class BPopUpMenu;
struct text_run_array;
diff --git a/src/apps/mail/People.cpp b/src/apps/mail/People.cpp
index 17b69f4..8955384 100644
--- a/src/apps/mail/People.cpp
+++ b/src/apps/mail/People.cpp
@@ -6,6 +6,8 @@
#include "People.h"
+#include <stdio.h>
+
#include <Autolock.h>
#include <Node.h>
diff --git a/src/apps/mail/QueryList.cpp b/src/apps/mail/QueryList.cpp
index 1153acb..59d5624 100644
--- a/src/apps/mail/QueryList.cpp
+++ b/src/apps/mail/QueryList.cpp
@@ -24,7 +24,15 @@ initQueryLooper()
}
-// #pragma mark -
+// #pragma mark - QueryListener
+
+
+QueryListener::~QueryListener()
+{
+}
+
+
+// #pragma mark - QueryList
QueryList::QueryList()
diff --git a/src/apps/mail/QueryList.h b/src/apps/mail/QueryList.h
index 1a95ee3..47205ea 100644
--- a/src/apps/mail/QueryList.h
+++ b/src/apps/mail/QueryList.h
@@ -21,6 +21,7 @@ struct QueryList;
class QueryListener {
public:
+ virtual ~QueryListener();
virtual void EntryCreated(QueryList& source,
const
entry_ref& ref, ino_t node) = 0;
virtual void EntryRemoved(QueryList& source,