Skip to content

Use global static variables to store protocol version

Vlad Zahorodnii requested to merge work/version-static-member-field into master

s_version is used only to initialize a global so there is no point for storing protocol version in a static member field and use funky syntax in the cpp file to initialize it. This change also simplifies the code.

Merge request reports