Remove unnecessary typecast

This commit is contained in:
Eelco Dolstra 2018-10-04 13:16:30 +02:00
parent 38b960136d
commit 0fda9b22c7
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -709,7 +709,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
logger->startWork();
// FIXME: race if addToStore doesn't read source?
store.cast<Store>()->addToStore(info, *source, (RepairFlag) repair,
store->addToStore(info, *source, (RepairFlag) repair,
dontCheckSigs ? NoCheckSigs : CheckSigs, nullptr);
logger->stopWork();