summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-13 11:28:32 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-13 11:31:00 +0200
commit98cc7fd2c1d397623960baf69ae3cec04a87a23e (patch)
treeccbb2d7962e21609184e4c18886a5326d3843f53 /cmdline/apt-get.cc
parent6c413b188618b9fcb5368b60971dfa5d45b3cd74 (diff)
Deprecate SPtrArray<T> and convert everyone to unique_ptr<T[]>
More standardization
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 0b79c507a..61ed41164 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -701,7 +701,7 @@ static bool DoSource(CommandLine &CmdL)
AcqTextStatus Stat(std::cout, ScreenWidth,_config->FindI("quiet",0));
pkgAcquire Fetcher(&Stat);
- SPtrArray<DscFile> Dsc = new DscFile[CmdL.FileSize()];
+ std::unique_ptr<DscFile[]> Dsc(new DscFile[CmdL.FileSize()]);
// insert all downloaded uris into this set to avoid downloading them
// twice