core: Make converting constructors explicit where applicable
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
This commit is contained in:
parent
4a3c4f5f67
commit
661f7bbcfd
4 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
* Recorder constructor
|
||||
* @param initial_state Initial recorder state
|
||||
*/
|
||||
Recorder(const InitialState& initial_state);
|
||||
explicit Recorder(const InitialState& initial_state);
|
||||
|
||||
/// Finish recording of this Citrace and save it using the given filename.
|
||||
void Finish(const std::string& filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue