Add explicit to one argument Schedule constructor

This commit is contained in:
Joakim Hove
2020-04-14 11:27:26 +02:00
parent e980713572
commit 84eaef0372

View File

@@ -118,7 +118,7 @@ namespace Opm
using VFPInjMap = std::map<int, DynamicState<std::shared_ptr<VFPInjTable>>>;
Schedule() = default;
Schedule(std::shared_ptr<const Python>) {}
explicit Schedule(std::shared_ptr<const Python>) {}
Schedule(const Deck& deck,
const EclipseGrid& grid,
const FieldPropsManager& fp,