Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Fix non-JSON related deprecated calls (lib)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBriza committed Sep 19, 2019
1 parent db1d14c commit e7c2ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ error Context::downloadUpdate() {
kDownloadStatusStarted);
}

std::auto_ptr<std::istream> stream(
std::unique_ptr<std::istream> stream(
Poco::URIStreamOpener::defaultOpener().open(uri));
Poco::FileOutputStream fos(file, std::ios::binary);
Poco::StreamCopier::copyStream(*stream.get(), fos);
Expand Down

0 comments on commit e7c2ce6

Please sign in to comment.