From 1d755abce43534aae22f1c8402c8476e2f1f8fec Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 23 Jul 2018 23:10:48 -0400 Subject: 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. --- src/core/tracer/recorder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/tracer') diff --git a/src/core/tracer/recorder.h b/src/core/tracer/recorder.h index 629c2f6d2..e1cefd5fe 100644 --- a/src/core/tracer/recorder.h +++ b/src/core/tracer/recorder.h @@ -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); -- cgit v1.2.3