aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-29 22:55:18 +0100
committerMax Kellermann <max@duempel.org>2015-01-29 22:55:18 +0100
commit557bee61d57287827fb972e859ee454ac920a2a9 (patch)
tree7cf39a248df95bacb28c810f58913a664f30ee7b /src/db
parent8bfb88840b6ca28a7d3c155099aee905de529300 (diff)
parent3adca3c2fa21c4062aff62872b8f7f71d7cffe3e (diff)
downloadmpd-557bee61d57287827fb972e859ee454ac920a2a9.tar.gz
mpd-557bee61d57287827fb972e859ee454ac920a2a9.tar.xz
mpd-557bee61d57287827fb972e859ee454ac920a2a9.zip
Merge branch 'v0.19.x'
Diffstat (limited to 'src/db')
-rw-r--r--src/db/update/Walk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/Walk.cxx b/src/db/update/Walk.cxx
index 6442e6d23..152971677 100644
--- a/src/db/update/Walk.cxx
+++ b/src/db/update/Walk.cxx
@@ -334,7 +334,7 @@ UpdateWalk::UpdateDirectory(Directory &directory, const FileInfo &info)
directory_set_stat(directory, info);
Error error;
- const std::auto_ptr<StorageDirectoryReader> reader(storage.OpenDirectory(directory.GetPath(), error));
+ const std::unique_ptr<StorageDirectoryReader> reader(storage.OpenDirectory(directory.GetPath(), error));
if (reader.get() == nullptr) {
LogError(error);
return false;