We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86a871 commit 6c160e8Copy full SHA for 6c160e8
src/jrd/replication/Protocol.h
@@ -27,13 +27,13 @@
27
namespace Replication
28
{
29
// Supported protocol versions
30
- const USHORT PROTOCOL_VERSION_1 = 1;
31
- const USHORT PROTOCOL_VERSION_2 = 2; // support for schemas
32
- const USHORT PROTOCOL_CURRENT_VERSION = PROTOCOL_VERSION_2;
+ inline constexpr USHORT PROTOCOL_VERSION_1 = 1;
+ inline constexpr USHORT PROTOCOL_VERSION_2 = 2; // support for schemas
+ inline constexpr USHORT PROTOCOL_CURRENT_VERSION = PROTOCOL_VERSION_2;
33
34
// Global (protocol neutral) flags
35
- const USHORT BLOCK_BEGIN_TRANS = 0x0001;
36
- const USHORT BLOCK_END_TRANS = 0x0002;
+ inline constexpr USHORT BLOCK_BEGIN_TRANS = 0x0001;
+ inline constexpr USHORT BLOCK_END_TRANS = 0x0002;
37
38
struct Block
39
0 commit comments