Removed pointer for regex expression
This commit is contained in:
parent
44896485d1
commit
edd6fa8ded
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ namespace fc { namespace rpc {
|
||||||
|
|
||||||
static boost::regex& cli_regex_secret()
|
static boost::regex& cli_regex_secret()
|
||||||
{
|
{
|
||||||
static boost::regex* regex_expr = new boost::regex();
|
static boost::regex regex_expr;
|
||||||
return *regex_expr;
|
return regex_expr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::vector<std::string>& cli_commands()
|
static std::vector<std::string>& cli_commands()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue