aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 01:36:28 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 01:36:28 +0100
commitf5a92d6cc39ea15ea8aa4cc35ee742a646b12508 (patch)
tree0797bc80790ce919880a43bb032bd991fe7b2a4b /test
parent3e8047e5831b4cc7dabae596746066698ad7c8cd (diff)
downloadmpd-f5a92d6cc39ea15ea8aa4cc35ee742a646b12508.tar.gz
mpd-f5a92d6cc39ea15ea8aa4cc35ee742a646b12508.tar.xz
mpd-f5a92d6cc39ea15ea8aa4cc35ee742a646b12508.zip
Directory: add constructor and destructor
Diffstat (limited to 'test')
-rw-r--r--test/DumpPlaylist.cxx3
-rw-r--r--test/TestQueuePriority.cxx2
2 files changed, 5 insertions, 0 deletions
diff --git a/test/DumpPlaylist.cxx b/test/DumpPlaylist.cxx
index 231ae31a2..612f54827 100644
--- a/test/DumpPlaylist.cxx
+++ b/test/DumpPlaylist.cxx
@@ -20,6 +20,7 @@
#include "config.h"
#include "TagSave.hxx"
#include "song.h"
+#include "Directory.hxx"
extern "C" {
#include "io_thread.h"
@@ -37,6 +38,8 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h>
+Directory::~Directory() {}
+
static void
my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level,
const gchar *message, G_GNUC_UNUSED gpointer user_data)
diff --git a/test/TestQueuePriority.cxx b/test/TestQueuePriority.cxx
index 860015ffe..01f39a006 100644
--- a/test/TestQueuePriority.cxx
+++ b/test/TestQueuePriority.cxx
@@ -7,6 +7,8 @@ extern "C" {
Directory detached_root;
+Directory::~Directory() {}
+
struct song *
song_dup_detached(const struct song *src)
{