aboutsummaryrefslogtreecommitdiff
path: root/src/multilog.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-07-14 07:55:14 +0000
committerMike Buland <eichlan@xagasoft.com>2006-07-14 07:55:14 +0000
commitf0f38e0f164b7e8b9132665407445d93f33be7ad (patch)
tree85bad44d80eb9df45a9f7ea960b51d1b2c003843 /src/multilog.h
parent74f94e9b20c93b93ad8b9091474f6368fc79c697 (diff)
downloadlibbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.gz
libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.bz2
libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.xz
libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.zip
Made everything have a virtual deconstructor. This is apparently very
important.
Diffstat (limited to 'src/multilog.h')
-rw-r--r--src/multilog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multilog.h b/src/multilog.h
index 7e4a357..692095a 100644
--- a/src/multilog.h
+++ b/src/multilog.h
@@ -42,7 +42,7 @@ public:
42 typedef struct LogEntry 42 typedef struct LogEntry
43 { 43 {
44 /** Safely delete a log entry. */ 44 /** Safely delete a log entry. */
45 ~LogEntry(); 45 virtual ~LogEntry();
46 time_t xTime; /**< The time the log entry was made. */ 46 time_t xTime; /**< The time the log entry was made. */
47 int nLevel; /**< The log-level of the entry. */ 47 int nLevel; /**< The log-level of the entry. */
48 char *lpFile; /**< The name of the file this entry came from. */ 48 char *lpFile; /**< The name of the file this entry came from. */
@@ -59,7 +59,7 @@ protected:
59 /** 59 /**
60 * Destroy the multilog. 60 * Destroy the multilog.
61 */ 61 */
62 ~MultiLog(); 62 virtual ~MultiLog();
63 63
64 /** 64 /**
65 * Append a new logentry to the log list, possibly pushing an old entry off. 65 * Append a new logentry to the log list, possibly pushing an old entry off.