Benjamin Bannier created MESOS-3886: ---------------------------------------
Summary: ProcessReference provides unsafe operator bool Key: MESOS-3886 URL: https://issues.apache.org/jira/browse/MESOS-3886 Project: Mesos Issue Type: Bug Components: libprocess Reporter: Benjamin Bannier The class `process::ProcessReference` provides an unsafe `operator bool() const`. The way it is currently implemented it e.g. * makes a `ProcessReference` implicitly convertible to anything implicitly constructible from a `bool`, or * makes any two `ProcessReferences` compare equal. The current implementation should probably be replaced with something following the safe bool idiom. -- This message was sent by Atlassian JIRA (v6.3.4#6332)