Skip to content

Commit d6b21cf

Browse files
committed
Tweaks and fixes
1 parent 1e5e3e0 commit d6b21cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/inc/sys_string/impl/unicode/utf_util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ namespace sysstr
123123
{
124124
utf_codepoint_encoder<To, false> encoder;
125125
encoder.put(value);
126-
for(auto first = encoder.begin(), last = encoder.end(); first != last; ++first)
127-
sink(*first);
126+
for(auto c: encoder)
127+
sink(c);
128128
}
129129
else
130130
{

lib/inc/sys_string/impl/util/util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <ranges>
1515
#include <algorithm>
1616
#include <tuple>
17+
#include <cstdarg>
1718

1819
namespace sysstr::util
1920
{

0 commit comments

Comments
 (0)