diff options
Diffstat (limited to '')
-rw-r--r-- | src/Partition.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx index de1170557..1d48fefdb 100644 --- a/src/Partition.cxx +++ b/src/Partition.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2014 The Music Player Daemon Project + * Copyright (C) 2003-2015 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -19,6 +19,7 @@ #include "config.h" #include "Partition.hxx" +#include "Instance.hxx" #include "DetachedSong.hxx" #include "output/MultipleOutputs.hxx" #include "mixer/Volume.hxx" @@ -27,6 +28,12 @@ #ifdef ENABLE_DATABASE +const Database * +Partition::GetDatabase(Error &error) const +{ + return instance.GetDatabase(error); +} + void Partition::DatabaseModified(const Database &db) { |