Prevent deprecation message details from being on a separate line.

The log handler does some kind of per-line sorting of these, so a single deprecation warning ends up with the detail line first and the message line second (line order reversed). When there are multiple deprecation messages, their detail lines and message lines get jumbled together.  This seems to be tied together with how it detects repeated instances of the exact same error/warning, so putting both the message and the detail on the same line is much simpler than tinkering with that.
This commit is contained in:
Pentarctagon 2021-03-31 11:57:46 -05:00
parent 852938519a
commit 690e8f0193
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -71,7 +71,7 @@ std::string deprecated_message(
}
if(!detail.empty()) {
message += "\n ";
message += "; ";
message += detail;
}