changes
Some checks failed
Deploy / build-deploy (push) Has been cancelled

This commit is contained in:
Jorijn van der Graaf 2026-08-05 22:32:03 +02:00
commit 054a26475c
4 changed files with 33 additions and 37 deletions

View file

@ -42,7 +42,7 @@ public:
SafeHtml(std::string_view) = delete;
// Str() returns a reference (not a copy) because Format() feeds these
// to std::make_format_args, which in C++23 binds Args&... and therefore
// to std::make_format_args, which in C++ binds Args&... and therefore
// needs lvalues.
const std::string& Str() const noexcept { return v_; }
std::string_view View() const noexcept { return v_; }