Skip to content

Commit 8befc10

Browse files
committed
csdiff-core: remove redundant usage of std::shared_ptr
1 parent 280dc58 commit 8befc10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/csdiff-core.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ bool /* anyError */ diffScans(
5959
format = pNew.inputFormat();
6060

6161
// create the appropriate writer
62-
using TWriterPtr = std::shared_ptr<AbstractWriter>;
63-
TWriterPtr writer(createWriter(strDst, format, cm, props));
62+
TWriterPtr writer = createWriter(strDst, format, cm, props);
6463

6564
// read old
6665
DefLookup stor(/* TODO: document this side effect */ showInternal);

0 commit comments

Comments
 (0)