Update src/CopyrighFixer/CopyrighFixer/worker.cpp

Co-authored-by: Andrei Yankovich <EndrIIMail@gmail.com>
This commit is contained in:
Igor loschinin 2021-05-13 14:19:48 +03:00 committed by GitHub
parent 9ed2b31bda
commit d20768dc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,13 +13,10 @@
namespace CopyrighFixer {
Worker::Worker(
Config *conf,
ConfigParser *confParser,
Signer *subscriber) {
conf_ = conf ?: new Config;
confParser_ = confParser ?: new ConfigParser;
subscriber_ = subscriber ?: new Signer;
Worker::Worker() {
conf_ = new Config;
confParser_ = new ConfigParser;
subscriber_ = new Signer;
}
Worker::~Worker() {