summaryrefslogtreecommitdiffstats
path: root/src/EtiReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r--src/EtiReader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp
index 3171a91..16272e3 100644
--- a/src/EtiReader.cpp
+++ b/src/EtiReader.cpp
@@ -174,8 +174,7 @@ int EtiReader::process(const Buffer* dataIn)
mySources.clear();
for (unsigned i = 0; i < eti_fc.NST; ++i) {
- mySources.push_back(shared_ptr<SubchannelSource>(
- new SubchannelSource(eti_stc[i])));
+ mySources.push_back(make_shared<SubchannelSource>(eti_stc[i]));
PDEBUG("Sstc %u:\n", i);
PDEBUG(" Stc%i.scid: %i\n", i, eti_stc[i].SCID);
PDEBUG(" Stc%i.sad: %u\n", i, eti_stc[i].getStartAddress());