diff options
author | Max Kellermann <max@duempel.org> | 2015-01-29 22:55:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-29 22:55:18 +0100 |
commit | 557bee61d57287827fb972e859ee454ac920a2a9 (patch) | |
tree | 7cf39a248df95bacb28c810f58913a664f30ee7b /src/db | |
parent | 8bfb88840b6ca28a7d3c155099aee905de529300 (diff) | |
parent | 3adca3c2fa21c4062aff62872b8f7f71d7cffe3e (diff) | |
download | mpd-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.cxx | 2 |
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; |