Skip to content

Commit

Permalink
fix: undefined reference on Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg033 committed Mar 9, 2018
1 parent bd31525 commit 58d9339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/supernode/TxPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ using namespace std;
namespace supernode {

TxPool::TxPool(const std::string &daemon_addr, const std::string &daemon_login, const std::string &daemon_pass)
: m_rpc_timeout(std::chrono::seconds(30))
{

bool result = false;
Expand Down
2 changes: 1 addition & 1 deletion src/supernode/TxPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class TxPool

private:
epee::net_utils::http::http_simple_client m_http_client;
static constexpr const std::chrono::seconds m_rpc_timeout = std::chrono::seconds(30);
std::chrono::seconds m_rpc_timeout;

};

Expand Down

0 comments on commit 58d9339

Please sign in to comment.