Remove unused param from daemon_config ctor (#1144)
This commit is contained in:
parent
34926f8322
commit
eb9f69e6e1
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
#include <iostream>
|
||||
#include <rai/node/working.hpp>
|
||||
|
||||
rai_daemon::daemon_config::daemon_config (boost::filesystem::path const & application_path_a) :
|
||||
rai_daemon::daemon_config::daemon_config () :
|
||||
rpc_enable (false),
|
||||
opencl_enable (false)
|
||||
{
|
||||
|
@ -98,8 +98,8 @@ void rai_daemon::daemon::run (boost::filesystem::path const & data_path, rai::no
|
|||
{
|
||||
boost::system::error_code error_chmod;
|
||||
boost::filesystem::create_directories (data_path);
|
||||
rai_daemon::daemon_config config;
|
||||
rai::set_secure_perm_directory (data_path, error_chmod);
|
||||
rai_daemon::daemon_config config (data_path);
|
||||
auto config_path ((data_path / "config.json"));
|
||||
std::fstream config_file;
|
||||
std::unique_ptr<rai::thread_runner> runner;
|
||||
|
|
|
@ -11,7 +11,7 @@ public:
|
|||
class daemon_config
|
||||
{
|
||||
public:
|
||||
daemon_config (boost::filesystem::path const &);
|
||||
daemon_config ();
|
||||
bool deserialize_json (bool &, boost::property_tree::ptree &);
|
||||
void serialize_json (boost::property_tree::ptree &);
|
||||
bool upgrade_json (unsigned, boost::property_tree::ptree &);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue