Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas1664 committed Apr 28, 2024
1 parent 415fbc7 commit 2af3640
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions include/vcpkg/base/messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,8 @@ namespace vcpkg::msg

inline void print(Color c, const LocalizedString& s) { msg::write_unlocalized_text(c, s); }
inline void print(const LocalizedString& s) { msg::write_unlocalized_text(Color::none, s); }
inline void println(Color c, LocalizedString s)
{
msg::write_unlocalized_text(c, s.append_raw('\n'));
}
inline void println(LocalizedString s)
{
msg::write_unlocalized_text(Color::none, s.append_raw('\n'));
}
inline void println(Color c, LocalizedString s) { msg::write_unlocalized_text(c, s.append_raw('\n')); }
inline void println(LocalizedString s) { msg::write_unlocalized_text(Color::none, s.append_raw('\n')); }

[[nodiscard]] LocalizedString format_error(const LocalizedString& s);
template<VCPKG_DECL_MSG_TEMPLATE>
Expand Down

0 comments on commit 2af3640

Please sign in to comment.