refactor: Replace const char* to std::string

Some functions should be returning std::string instead of const char*.
This commit changes that.
This commit is contained in:
Calvin Kim
2020-05-18 17:14:10 +09:00
parent dc5333d31f
commit c57f03ce17
9 changed files with 24 additions and 13 deletions

View File

@@ -7,7 +7,9 @@
#include <util/strencodings.h>
const char* GetOpName(opcodetype opcode)
#include <string>
std::string GetOpName(opcodetype opcode)
{
switch (opcode)
{