mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +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:
@@ -5,7 +5,9 @@
|
||||
|
||||
#include <script/script_error.h>
|
||||
|
||||
const char* ScriptErrorString(const ScriptError serror)
|
||||
#include <string>
|
||||
|
||||
std::string ScriptErrorString(const ScriptError serror)
|
||||
{
|
||||
switch (serror)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user