Skip to content

Make json_ui_msg write to out member not std::cout #2045

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

Closed
wants to merge 1 commit into from

Conversation

karkhaz
Copy link
Collaborator

@karkhaz karkhaz commented Apr 12, 2018

No description provided.

@@ -298,7 +298,7 @@ void ui_message_handlert::json_ui_msg(
// By convention a leading comma is created by every new array entry.
// The first entry is generated in the constructor and does not have
// a trailing comma.
std::cout << ",\n" << result;
out << ",\n" << result;
Copy link
Member

@peterschrammel peterschrammel Apr 12, 2018

Choose a reason for hiding this comment

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

This code has been removed in #2039. The writing to out is already handled through the json_streamt above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, thank you, I was just about to ask :)

@karkhaz karkhaz closed this Apr 12, 2018
@karkhaz karkhaz deleted the kk-no-json-std-cout branch August 2, 2018 12:51
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.

2 participants