Add & to member functions in initialiser, to fix Bug 1770 CompilerCompatibility
authorWilliam Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 10:12:48 +0100
branchCompilerCompatibility
changeset 15 1fb7c29cba15
parent 14 48df8036c0f5
Add & to member functions in initialiser, to fix Bug 1770
emailservices/emailclientapi/src/emailmailbox.cpp
--- a/emailservices/emailclientapi/src/emailmailbox.cpp	Sun Mar 28 16:35:40 2010 +0100
+++ b/emailservices/emailclientapi/src/emailmailbox.cpp	Wed Mar 31 10:12:48 2010 +0100
@@ -425,26 +425,26 @@
     TAny* aParam3 )
     {
     const TEventMapFunc KMailboxEventHandlers[] = {
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL, 
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL, 
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::IgnoreEventL,
-    CEmailMailbox::TObserverEventMapper::NewMessageL, 
-    CEmailMailbox::TObserverEventMapper::MessageChangedL,
-    CEmailMailbox::TObserverEventMapper::MessageDeletedL,
-    CEmailMailbox::TObserverEventMapper::MessageMoved,
-    CEmailMailbox::TObserverEventMapper::MessageCopiedL,
-    CEmailMailbox::TObserverEventMapper::NewFolderL, 
-    CEmailMailbox::TObserverEventMapper::FolderChangeL,
-    CEmailMailbox::TObserverEventMapper::FoldersDeletedL,
-    CEmailMailbox::TObserverEventMapper::FoldersMovedL,
-    CEmailMailbox::TObserverEventMapper::ExceptionL
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL, 
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL, 
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::IgnoreEventL,
+    &CEmailMailbox::TObserverEventMapper::NewMessageL, 
+    &CEmailMailbox::TObserverEventMapper::MessageChangedL,
+    &CEmailMailbox::TObserverEventMapper::MessageDeletedL,
+    &CEmailMailbox::TObserverEventMapper::MessageMoved,
+    &CEmailMailbox::TObserverEventMapper::MessageCopiedL,
+    &CEmailMailbox::TObserverEventMapper::NewFolderL, 
+    &CEmailMailbox::TObserverEventMapper::FolderChangeL,
+    &CEmailMailbox::TObserverEventMapper::FoldersDeletedL,
+    &CEmailMailbox::TObserverEventMapper::FoldersMovedL,
+    &CEmailMailbox::TObserverEventMapper::ExceptionL
     };
 
     TMailboxId id( aMailbox.Id() );