summaryrefslogtreecommitdiff
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-09-09 18:47:42 +0200
committerMax Kellermann <max@musicpd.org>2016-09-16 17:43:36 +0200
commit8c744efd5693f2a39b1441d747ebdf0d23faa308 (patch)
treeee7e99a9b1a235bc1ef554930a3c75dbfabec8d5 /test/DumpDatabase.cxx
parent597e59f10da774c7169ee4328c874b21f71f3e60 (diff)
input/InputStream: migrate from class Error to C++ exceptions
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r--test/DumpDatabase.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index e673dc698..2edf5d13a 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -36,6 +36,7 @@
#include "util/Error.hxx"
#include "util/ScopeExit.hxx"
+#include <stdexcept>
#include <iostream>
using std::cout;
using std::cerr;
@@ -46,7 +47,7 @@ using std::endl;
#ifdef ENABLE_UPNP
#include "input/InputStream.hxx"
size_t
-InputStream::LockRead(void *, size_t, Error &)
+InputStream::LockRead(void *, size_t)
{
return 0;
}