diff options
| author | 2018-07-23 23:10:48 -0400 | |
|---|---|---|
| committer | 2018-07-23 23:13:22 -0400 | |
| commit | 1d755abce43534aae22f1c8402c8476e2f1f8fec (patch) | |
| tree | 7f83ccf765241740286ba49b6ed045070924b527 /src/core/tracer | |
| parent | Merge pull request #790 from bunnei/shader-print-instr (diff) | |
| download | yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.gz yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.xz yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.zip | |
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.
Diffstat (limited to 'src/core/tracer')
| -rw-r--r-- | src/core/tracer/recorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
| 32 | * Recorder constructor | 32 | * Recorder constructor |
| 33 | * @param initial_state Initial recorder state | 33 | * @param initial_state Initial recorder state |
| 34 | */ | 34 | */ |
| 35 | Recorder(const InitialState& initial_state); | 35 | explicit Recorder(const InitialState& initial_state); |
| 36 | 36 | ||
| 37 | /// Finish recording of this Citrace and save it using the given filename. | 37 | /// Finish recording of this Citrace and save it using the given filename. |
| 38 | void Finish(const std::string& filename); | 38 | void Finish(const std::string& filename); |