summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-12-07 22:42:12 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-12-07 22:42:12 (GMT)
commit3d473e737c1140a55bd804b45df998be20a758cc (patch)
treeef13343cb7f1079f1b7b9403576c40d6f80c6859 /src/state.h
parent8933f2f6a49f623da845c42f7dc48b36d18fbc87 (diff)
downloadNinja-3d473e737c1140a55bd804b45df998be20a758cc.zip
Ninja-3d473e737c1140a55bd804b45df998be20a758cc.tar.gz
Ninja-3d473e737c1140a55bd804b45df998be20a758cc.tar.bz2
remove two unneeded `explicit`s
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h
index 8804532..311d740 100644
--- a/src/state.h
+++ b/src/state.h
@@ -37,8 +37,8 @@ struct Rule;
/// the total scheduled weight diminishes enough (i.e. when a scheduled edge
/// completes).
struct Pool {
- explicit Pool(const string& name, int depth)
- : name_(name), current_use_(0), depth_(depth), delayed_(&WeightedEdgeCmp) { }
+ Pool(const string& name, int depth)
+ : name_(name), current_use_(0), depth_(depth), delayed_(&WeightedEdgeCmp) {}
// A depth of 0 is infinite
bool is_valid() const { return depth_ >= 0; }