-
Notifications
You must be signed in to change notification settings - Fork 27
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
Split RANK_COUNT out of RANK in SLIC message formatting #1390
Split RANK_COUNT out of RANK in SLIC message formatting #1390
Conversation
/style |
@@ -423,12 +429,13 @@ The ``MyStream`` class implements the ``LogStream::append()`` method of the | |||
int line, | |||
bool AXOM_UNUSED_PARAM(filtered_duplicates) ) | |||
{ | |||
assert( m_stream != nillptr ); | |||
assert( m_stream != nullptr ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes! How did that compile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It didn't because it is just a code chunk in the documentation. A very good example why we shouldn't do this in general =)
std::string("\t<TIMESTAMP>\n") + std::string("\tLEVEL=<LEVEL>\n") + | ||
std::string("\tRANKS=<RANK>\n") + std::string("\tFILE=<FILE>\n") + | ||
std::string("\tLINE=<LINE>\n"); | ||
constexpr const char* format = R"( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Fixes #256.
@gberg617