diff options
| author | Daniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu> | 2010-05-25 00:32:48 -0700 |
|---|---|---|
| committer | Daniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu> | 2010-05-25 00:32:48 -0700 |
| commit | 335f355d491fb507486d00f6c86f321c7f8bc095 (patch) | |
| tree | c525593c460c6c4930997b54d8bd7505442e7da7 /src/generic/util | |
| parent | 8d7963910a2d94bc3fcc4e232773cf43285048cb (diff) | |
| download | aptitude-335f355d491fb507486d00f6c86f321c7f8bc095.tar.gz | |
Give Logger a virtual destructor.
Diffstat (limited to 'src/generic/util')
| -rw-r--r-- | src/generic/util/logging.cc | 4 | ||||
| -rw-r--r-- | src/generic/util/logging.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/generic/util/logging.cc b/src/generic/util/logging.cc index 7e3a9e1d..ab94384c 100644 --- a/src/generic/util/logging.cc +++ b/src/generic/util/logging.cc @@ -326,6 +326,10 @@ namespace aptitude { } + Logger::~Logger() + { + } + LoggerPtr Logger::getLogger(const std::string &category) { return LoggingSystem::get().getLogger(category); diff --git a/src/generic/util/logging.h b/src/generic/util/logging.h index 5337dcf5..bcf0c927 100644 --- a/src/generic/util/logging.h +++ b/src/generic/util/logging.h @@ -92,6 +92,8 @@ namespace aptitude friend class LoggingSystem; public: + virtual ~Logger(); + /** \brief Return \b true if messages logged at the given * level will appear. * |
