mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Mark some single-argument constructors explicit
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user