We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a89d566 commit d58a069Copy full SHA for d58a069
1 file changed
include/pgvector/pqxx.hpp
@@ -232,7 +232,7 @@ template<> struct string_traits<pgvector::SparseVector> {
232
if (i != 0) {
233
here += pqxx::into_buf(buf.subspan(here), ",", c);
234
}
235
- // cast to prevent undefined behavior and require less buffer space
+ // cast to avoid undefined behavior and require less buffer space
236
here += pqxx::into_buf(buf.subspan(here), static_cast<unsigned int>(indices[i]) + 1, c);
237
here += pqxx::into_buf(buf.subspan(here), ":", c);
238
here += pqxx::into_buf(buf.subspan(here), values[i], c);
0 commit comments