Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv8073/src/mail
Modified Files:
MFPool.cpp
Log Message:
MFPool::Remove() now returns bool
Index: MFPool.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MFPool.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -u -2 -r1.3 -r1.4
--- MFPool.cpp 21 Jul 2002 19:29:13 -0000 1.3
+++ MFPool.cpp 2 Sep 2002 10:43:05 -0000 1.4
@@ -232,5 +232,5 @@
/* static */
-void MFPool::Remove(MailFolder *mf)
+bool MFPool::Remove(MailFolder *mf)
{
for ( MFClassPoolList::iterator pool = gs_pool.begin();
@@ -246,9 +246,11 @@
pool->connections.erase(i);
- // there can be only one node containing this folder
- return;
+ // there can be only one node containing this folder so stop here
+ return true;
}
}
}
+
+ return false;
}
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates