mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02: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:
parent
dc5333d31f
commit
c57f03ce17
9 changed files with 24 additions and 13 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue