Skip to content

Commit e8ba843

Browse files
gamante91GiacomoScanditclaude
authored
Fix missing space in DeprecatedFunc error message. (#12200)
Signed-off-by: Giacomo Amante <giacomo@scandit.com> Co-authored-by: Giacomo Amante <giacomo@scandit.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3284a0f commit e8ba843

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/error_msg.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace xgboost::error {
1616
[[nodiscard]] std::string DeprecatedFunc(StringView old, StringView since, StringView replacement) {
1717
std::stringstream ss;
18-
ss << "`" << old << "` is deprecated since" << since << ", use `" << replacement << "` instead.";
18+
ss << "`" << old << "` is deprecated since " << since << ", use `" << replacement << "` instead.";
1919
return ss.str();
2020
}
2121

0 commit comments

Comments
 (0)