Remove "using namespace" from headers and make single param constructors explicit
This commit is contained in:
@@ -11,7 +11,7 @@ class Digraph : public Graph<T> {
|
||||
public:
|
||||
Digraph() = default;
|
||||
|
||||
Digraph(std::unordered_map<T, std::unordered_set<T>> G);
|
||||
explicit Digraph(std::unordered_map<T, std::unordered_set<T>> G);
|
||||
|
||||
// Return true if there is a path from u to v
|
||||
bool contains(const T& u, const T& v);
|
||||
|
||||
Reference in New Issue
Block a user