Update of /cvsroot/mahogany/M/include/adb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13640/include/adb
Modified Files:
AdbExport.h AdbImport.h AdbModule.h
Log Message:
made ADB modules dtors pure virtual to avoid confusion about where they're
defined and resulting gcc warnings
Index: AdbExport.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbExport.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -u -2 -r1.6 -r1.7
--- AdbExport.h 16 Oct 2003 10:29:23 -0000 1.6
+++ AdbExport.h 12 Feb 2006 22:14:02 -0000 1.7
@@ -57,4 +57,6 @@
// export one entry only
virtual bool Export(const AdbEntry& entry, const String& dest) = 0;
+
+ virtual ~AdbExporter() = 0;
};
Index: AdbImport.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbImport.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -u -2 -r1.12 -r1.13
--- AdbImport.h 18 Sep 2003 16:30:43 -0000 1.12
+++ AdbImport.h 12 Feb 2006 22:14:02 -0000 1.13
@@ -99,4 +99,6 @@
size_t index,
AdbEntry *entry) = 0;
+
+ virtual ~AdbImporter() = 0;
};
Index: AdbModule.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbModule.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- AdbModule.h 12 Oct 2003 22:03:37 -0000 1.10
+++ AdbModule.h 12 Feb 2006 22:14:02 -0000 1.11
@@ -95,4 +95,6 @@
virtual const wxChar *GetDescription() const = 0;
+ virtual ~AdbModule() = 0;
+
private:
friend struct AdbModuleInfo; // give it access to ms_listModules
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates