Apply some Clang-Tidy fixes

This commit is contained in:
gamerforEA 2020-02-27 00:13:54 +04:00 committed by Ivan
parent c0fbf3091e
commit 93552a5958
34 changed files with 59 additions and 59 deletions

View file

@ -239,7 +239,7 @@ char gdb_thread::read_char()
u8 gdb_thread::read_hexbyte()
{
std::string s = "";
std::string s;
s += read_char();
s += read_char();
return hex_to_u8(s);
@ -548,7 +548,7 @@ bool gdb_thread::cmd_supported(gdb_cmd& cmd)
bool gdb_thread::cmd_thread_info(gdb_cmd& cmd)
{
std::string result = "";
std::string result;
const auto on_select = [&](u32, cpu_thread& cpu)
{
if (result.length()) {