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

UpdateSummaryVar improvements #44

Merged
merged 3 commits into from
Jun 14, 2018

Conversation

LuAPi
Copy link
Contributor

@LuAPi LuAPi commented Jun 6, 2018

This addresses a bug where channels with message type of MOOS_NOT_SET caused the next line in the message to be indented by 19 spaces.

It also removes some unreachable code and removes the trailing whitespace on the end of lines which aren't for channels with string content that is 20 or more characters long.

LuAPi added 3 commits June 6, 2018 12:12
There is no benefit to padding the last field with spaces.
Additionally this fixes a bug that is caused because nothing is output if the message's datatype is MOOS_NOT_SET which causes the ss<<std::left<<std::setw(20); to get applied to the ss<<"\n"; statement resulting in padding at the start of the next line of output.
@pmnewman pmnewman merged commit 19d06a9 into themoos:master Jun 14, 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.

2 participants