Add protocol revision number in protocol hash

This commit is contained in:
Guillaume Meunier
2024-11-10 21:17:08 +01:00
parent 97bacfcd35
commit c5db0258be
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -6,5 +6,5 @@
namespace wivrn
{
using protocol = std::variant<from_headset::packets, to_headset::packets>;
static inline const constinit auto protocol_version = serialization_type_hash<protocol>();
static inline const constinit auto protocol_version = serialization_type_hash<protocol>(protocol_revision);
} // namespace wivrn