mirror of
https://github.com/Simplxss/SignerServer.git
synced 2024-11-21 00:37:53 +08:00
missing const
This commit is contained in:
parent
848b2643ed
commit
c39acea3fb
@ -51,7 +51,7 @@ bool RunAsNode::RunNode()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RunAsNode::Init(std::string &version)
|
bool RunAsNode::Init(const std::string &version)
|
||||||
{
|
{
|
||||||
uint64_t baseAddr = 0;
|
uint64_t baseAddr = 0;
|
||||||
#if defined(_WIN_PLATFORM_)
|
#if defined(_WIN_PLATFORM_)
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
namespace RunAsNode
|
namespace RunAsNode
|
||||||
{
|
{
|
||||||
bool Init(std::string &version);
|
bool Init(const std::string &version);
|
||||||
bool RunNode();
|
bool RunNode();
|
||||||
}
|
}
|
@ -85,7 +85,7 @@ std::string Bin2Hex(const uint8_t *ptr, size_t length)
|
|||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Sign::Init(std::string &version)
|
bool Sign::Init(const std::string &version)
|
||||||
{
|
{
|
||||||
uint64_t HookAddress = 0;
|
uint64_t HookAddress = 0;
|
||||||
#if defined(_WIN_PLATFORM_)
|
#if defined(_WIN_PLATFORM_)
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
|
|
||||||
namespace Sign
|
namespace Sign
|
||||||
{
|
{
|
||||||
bool Init(std::string &version);
|
bool Init(const std::string &version);
|
||||||
std::tuple<std::string, std::string, std::string> Call(const std::string_view cmd, const std::string_view src, int seq);
|
std::tuple<std::string, std::string, std::string> Call(const std::string_view cmd, const std::string_view src, int seq);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user