diff options
Diffstat (limited to 'patch_writer_factory.cc')
-rw-r--r-- | patch_writer_factory.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/patch_writer_factory.cc b/patch_writer_factory.cc index 17fa000..84cd3dc 100644 --- a/patch_writer_factory.cc +++ b/patch_writer_factory.cc @@ -8,10 +8,11 @@ namespace bsdiff { +// TODO(xunchang) choose the compression type based on the input parameter. std::unique_ptr<PatchWriterInterface> CreateBsdiffPatchWriter( const std::string& patch_filename) { return std::unique_ptr<PatchWriterInterface>( - new BsdiffPatchWriter(patch_filename)); + new BsdiffPatchWriter(patch_filename, CompressorType::kBZ2)); } } // namespace bsdiff |