query: optimize msgpack_pack

This commit is contained in:
Adrien Béraud committed 2026-02-19 21:50:07 -05:00
1 parent 01eab83a7b
commit 62243fb4f6
1 file changed
+2 -2
+2 -2
View File
@@ -1026,9 +1026,9 @@ struct OPENDHT_PUBLIC Query
void msgpack_pack(Packer& pk) const
{
pk.pack_map(2);
pk.pack(std::string("s"));
pk.pack("s"sv);
pk.pack(select); /* packing field selectors */
pk.pack(std::string("w"));
pk.pack("w"sv);
pk.pack(where); /* packing filters */
}