mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
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:
@@ -7,7 +7,9 @@
|
||||
|
||||
#include <util/strencodings.h>
|
||||
|
||||
const char* GetOpName(opcodetype opcode)
|
||||
#include <string>
|
||||
|
||||
std::string GetOpName(opcodetype opcode)
|
||||
{
|
||||
switch (opcode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user