Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linking issue with SUPERNODE_HTTP_TIMEOUT_MILLIS #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LenyKholodov
Copy link
Contributor

No description provided.

@@ -226,7 +226,7 @@ namespace nodetool
typename request_struct::response resp = AUTO_VAL_INIT(resp);
bool r = epee::net_utils::invoke_http_json(m_supernode_uri + uri,
req, resp, m_supernode_client,
std::chrono::milliseconds(SUPERNODE_HTTP_TIMEOUT_MILLIS), "POST");
std::chrono::milliseconds(size_t(SUPERNODE_HTTP_TIMEOUT_MILLIS)), "POST");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you should actually fix the problem rather than hacking around it: you have a static constexpr variable without a definition, which isn't valid (until C++17).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jagerman Thank you for pointing us to this issue. Please feel free to provide correct fix as a separate PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants