summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/span.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/span.cpp b/src/span.cpp
index eacdc7aa..4e309287 100644
--- a/src/span.cpp
+++ b/src/span.cpp
@@ -75,10 +75,10 @@ void Span::error(ErrorType tag, ::std::function<void(::std::ostream&)> msg) cons
#endif
}
void Span::warning(WarningType tag, ::std::function<void(::std::ostream&)> msg) const {
- print_span_message(*this, [&](auto& os){os << "warning" << tag;}, msg);
+ print_span_message(*this, [&](auto& os){os << "warn:" << tag;}, msg);
}
void Span::note(::std::function<void(::std::ostream&)> msg) const {
- print_span_message(*this, [](auto& os){os << "note";}, msg);
+ print_span_message(*this, [](auto& os){os << "note:";}, msg);
}
::std::ostream& operator<<(::std::ostream& os, const Span& sp)