Remove "using namespace" from headers and make single param constructors explicit
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
#include <stack>
|
||||
|
||||
using namespace graph;
|
||||
|
||||
namespace algo {
|
||||
|
||||
template<typename T>
|
||||
@@ -15,7 +13,7 @@ class Italiano : public DecrementalReachability<T> {
|
||||
public:
|
||||
Italiano() = default;
|
||||
|
||||
Italiano(Digraph<T> G) { this->G = G; }
|
||||
explicit Italiano(graph::Digraph<T> G) { this->G = G; }
|
||||
|
||||
// Initialize the decremental maintenance data structure for DAGs
|
||||
void init() override;
|
||||
|
||||
Reference in New Issue
Block a user