| 26 | } |
| 27 | |
| 28 | ProtocolVersion currentProtocolVersion() { |
| 29 | static ProtocolVersion firstReturnedProtocolVersion = g_currentProtocolVersion; |
| 30 | // Make sure the protocol version is not changed, once it is already in use |
| 31 | ASSERT(firstReturnedProtocolVersion == g_currentProtocolVersion); |
| 32 | return g_currentProtocolVersion; |
| 33 | } |
| 34 | |
| 35 | void useFutureProtocolVersion() { |
| 36 | g_currentProtocolVersion = ProtocolVersion(futureProtocolVersionValue); |
no outgoing calls
no test coverage detected