Mark some single-argument constructors explicit

This commit is contained in:
Joe Loser
2018-05-20 22:23:44 -04:00
committed by Mike Ellery
parent 31e511afcf
commit f658656b82
11 changed files with 20 additions and 20 deletions

View File

@@ -363,7 +363,7 @@ struct ExistingElementPool
ExistingElementPool& p_;
ResetState state_;
StateGuard(ExistingElementPool& p) : p_{p}, state_{p.getResetState()}
explicit StateGuard(ExistingElementPool& p) : p_{p}, state_{p.getResetState()}
{
}
~StateGuard()