diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-03 10:22:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 10:22:11 +0100 |
commit | f0908f592cd9d464368339618ffce952a532b3ec (patch) | |
tree | 869c0d7df9e5ee777132bdb21fed6ea5890f84b4 /src/libutil/util.hh | |
parent | 28c3e4eb1d2609079a7efd72c39ed70fac7e614a (diff) | |
parent | 29abc8e7647cd9ec6ef5a1df3fcb1dcf4a4495a2 (diff) |
Merge pull request #7942 from edolstra/remove-format
Remove FormatOrString and remaining uses of format()
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index b5625ecef..75959d7e3 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -569,7 +569,7 @@ bool shouldANSI(); some escape sequences (such as colour setting) are copied but not included in the character count. Also, tabs are expanded to spaces. */ -std::string filterANSIEscapes(const std::string & s, +std::string filterANSIEscapes(std::string_view s, bool filterAll = false, unsigned int width = std::numeric_limits<unsigned int>::max()); |