profile::Event* state_event_ = nullptr;
public:
- Resource(const std::string& name) : name_(name){};
+ explicit Resource(const std::string& name) : name_(name){};
virtual ~Resource() = default;
virtual void seal() { sealed_ = true; }
s4u::Link piface_;
protected:
- LinkImpl(const std::string& name);
+ explicit LinkImpl(const std::string& name);
LinkImpl(const LinkImpl&) = delete;
LinkImpl& operator=(const LinkImpl&) = delete;
~LinkImpl() override = default; // Use destroy() instead of this destructor.