diff options
| author | 2020-01-31 02:01:48 +0100 | |
|---|---|---|
| committer | 2020-01-30 20:01:48 -0500 | |
| commit | 059243f68ec0c2e327a3105a9480f50e5e0b4abf (patch) | |
| tree | cbf132320ebc93ae4c58d60fd3a5ed834c2e8862 /src/emu/debug/debugcon.cpp | |
| parent | 06ecc1ca0d96a7d9cc66aab6a5aa8b8f0265fa09 (diff) | |
fixed some clang-tidy warnings (nw) (#6236)
* fixed some modernize-redundant-void-arg clang-tidy warnings (nw)
* fixed some modernize-use-bool-literals clang-tidy warnings (nw)
* fixed some modernize-use-emplace clang-tidy warnings (nw)
* fixed some performance-move-const-arg clang-tidy warnings (nw)
* fixed some readability-redundant-control-flow clang-tidy warnings (nw)
* fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
* fixed some performance-unnecessary-value-param clang-tidy warnings (nw)
Diffstat (limited to 'src/emu/debug/debugcon.cpp')
| -rw-r--r-- | src/emu/debug/debugcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcon.cpp b/src/emu/debug/debugcon.cpp index e24c6a2336e..9219df2f0ca 100644 --- a/src/emu/debug/debugcon.cpp +++ b/src/emu/debug/debugcon.cpp @@ -95,7 +95,7 @@ void debugger_console::exit() ***************************************************************************/ debugger_console::debug_command::debug_command(const char *_command, u32 _flags, int _ref, int _minparams, int _maxparams, std::function<void(int, const std::vector<std::string> &)> _handler) - : params(nullptr), help(nullptr), handler(_handler), flags(_flags), ref(_ref), minparams(_minparams), maxparams(_maxparams) + : params(nullptr), help(nullptr), handler(std::move(_handler)), flags(_flags), ref(_ref), minparams(_minparams), maxparams(_maxparams) { strcpy(command, _command); } |
