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

silence warning adding 'long' to a string does not append to the stri… #854

Merged
merged 2 commits into from
Apr 17, 2018

Conversation

ihla
Copy link

@ihla ihla commented Apr 17, 2018

…ng [-Wstring-plus-int]

@@ -63,7 +63,7 @@ bool SendBulk(CURL *curl, std::vector<std::string>& bulk, std::string elasticsea
return 0;
}
else {
elog(http_code + "error: Unknown error");
elog(std::to_string(http_code) + "error: Unknown error");
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for working on these warnings. I too had this on my To-Do list. Would you also please add a space just after the quotes? " error:... instead of "error:...

Line 102 also.

Copy link
Contributor

@jmjatlanta jmjatlanta left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you!

Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

thank you guys.

@oxarbitrage oxarbitrage merged commit b359365 into bitshares:develop Apr 17, 2018
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.

4 participants