author | mickeyl <mickeyl> | 2003-03-21 14:32:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-21 14:32:54 (UTC) |
commit | 69086f42072e7fc1ea5256cb9275a27bf5b41f87 (patch) (side-by-side diff) | |
tree | a310ce28e7f332a08e45923df69bf822da88648c | |
parent | 6d066b0ed3fd7fbedce84616a8fa279eec480f13 (diff) | |
download | opie-69086f42072e7fc1ea5256cb9275a27bf5b41f87.zip opie-69086f42072e7fc1ea5256cb9275a27bf5b41f87.tar.gz opie-69086f42072e7fc1ea5256cb9275a27bf5b41f87.tar.bz2 |
g++ compliance fix: default arguments belong into the declaration, but not the definition
-rw-r--r-- | libopie/pim/ocontactaccessbackend_xml.cpp | 5 | ||||
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libopie/pim/ocontactaccessbackend_xml.cpp b/libopie/pim/ocontactaccessbackend_xml.cpp index 9fe3d1e..c5a7820 100644 --- a/libopie/pim/ocontactaccessbackend_xml.cpp +++ b/libopie/pim/ocontactaccessbackend_xml.cpp @@ -12,16 +12,19 @@ * ToDo: XML-Backend: Automatic reload if something was changed... * * * ===================================================================== * Version: $Id$ * ===================================================================== * History: * $Log$ + * Revision 1.4 2003/03/21 14:32:54 mickeyl + * g++ compliance fix: default arguments belong into the declaration, but not the definition + * * Revision 1.3 2003/03/21 12:26:28 eilers * Fixing small bug: If we search a birthday from today to today, it returned * every contact .. * * Revision 1.2 2003/03/21 10:33:09 eilers * Merged speed optimized xml backend for contacts to main. * Added QDateTime to querybyexample. For instance, it is now possible to get * all Birthdays/Anniversaries between two dates. This should be used @@ -99,17 +102,17 @@ #include "ocontactaccess.h" #include <stdlib.h> #include <errno.h> using namespace Opie; -OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename = 0l ): +OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename ): m_changed( false ) { // Just m_contactlist should call delete if an entry // is removed. m_contactList.setAutoDelete( true ); m_uidToContact.setAutoDelete( false ); m_appName = appname; diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp index 9fe3d1e..c5a7820 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp +++ b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp @@ -12,16 +12,19 @@ * ToDo: XML-Backend: Automatic reload if something was changed... * * * ===================================================================== * Version: $Id$ * ===================================================================== * History: * $Log$ + * Revision 1.4 2003/03/21 14:32:54 mickeyl + * g++ compliance fix: default arguments belong into the declaration, but not the definition + * * Revision 1.3 2003/03/21 12:26:28 eilers * Fixing small bug: If we search a birthday from today to today, it returned * every contact .. * * Revision 1.2 2003/03/21 10:33:09 eilers * Merged speed optimized xml backend for contacts to main. * Added QDateTime to querybyexample. For instance, it is now possible to get * all Birthdays/Anniversaries between two dates. This should be used @@ -99,17 +102,17 @@ #include "ocontactaccess.h" #include <stdlib.h> #include <errno.h> using namespace Opie; -OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename = 0l ): +OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename ): m_changed( false ) { // Just m_contactlist should call delete if an entry // is removed. m_contactList.setAutoDelete( true ); m_uidToContact.setAutoDelete( false ); m_appName = appname; |