Skip to content

Commit cb9301c

Browse files
Minor fix
1 parent 6fc53bb commit cb9301c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/rfl/capnproto/Writer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class RFL_API Writer {
262262

263263
private:
264264
kj::StringPtr to_kj_string_ptr(const std::string_view& _str) const {
265-
return kj::StringPtr(_str.begin(), _str.end());
265+
return kj::StringPtr(_str.data(), _str.size());
266266
}
267267

268268
private:

0 commit comments

Comments
 (0)