From c57f03ce1741b38af448bec7b22ab9f8ac21f067 Mon Sep 17 00:00:00 2001 From: Calvin Kim Date: Mon, 18 May 2020 17:14:10 +0900 Subject: refactor: Replace const char* to std::string Some functions should be returning std::string instead of const char*. This commit changes that. --- src/script/script.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/script/script.cpp') diff --git a/src/script/script.cpp b/src/script/script.cpp index ae0de1d24..92c6fe778 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -7,7 +7,9 @@ #include -const char* GetOpName(opcodetype opcode) +#include + +std::string GetOpName(opcodetype opcode) { switch (opcode) { -- cgit v1.2.3