diff options
Diffstat (limited to 'src/db/update')
-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 f71faa86d..9fdb5bbdf 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; |