mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
query: optimize msgpack_pack
This commit is contained in:
1 parent
01eab83a7b
commit
62243fb4f6
1 file changed
+2
-2
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user