aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-10 19:43:27 +0200
committerMax Kellermann <max@duempel.org>2013-08-10 19:43:27 +0200
commit3deca8fccd9776828808d35181203d8fd95eb450 (patch)
tree48e6345da060ced8aaade5b76f8c9af564bc211b /src/db
parent7af24c4d3a17e10a1130bdd39f1e1d12f72e4d8b (diff)
downloadmpd-3deca8fccd9776828808d35181203d8fd95eb450.tar.gz
mpd-3deca8fccd9776828808d35181203d8fd95eb450.tar.xz
mpd-3deca8fccd9776828808d35181203d8fd95eb450.zip
db_error: convert to C++
Diffstat (limited to 'src/db')
-rw-r--r--src/db/ProxyDatabasePlugin.cxx5
-rw-r--r--src/db/SimpleDatabasePlugin.cxx2
2 files changed, 2 insertions, 5 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx
index 638a801d4..81aad0a4c 100644
--- a/src/db/ProxyDatabasePlugin.cxx
+++ b/src/db/ProxyDatabasePlugin.cxx
@@ -21,6 +21,7 @@
#include "ProxyDatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
+#include "DatabaseError.hxx"
#include "PlaylistVector.hxx"
#include "Directory.hxx"
#include "Song.hxx"
@@ -28,10 +29,6 @@
#include "conf.h"
#include "Tag.hxx"
-extern "C" {
-#include "db_error.h"
-}
-
#undef MPD_DIRECTORY_H
#undef MPD_SONG_H
#include <mpd/client.h>
diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx
index 373064c3f..21eb8752d 100644
--- a/src/db/SimpleDatabasePlugin.cxx
+++ b/src/db/SimpleDatabasePlugin.cxx
@@ -25,7 +25,7 @@
#include "SongFilter.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseLock.hxx"
-#include "db_error.h"
+#include "DatabaseError.hxx"
#include "TextFile.hxx"
#include "conf.h"
#include "fs/FileSystem.hxx"