From 0f26f39b5b2b281cc6ee08c16ab30d7acb73ff7e Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 20 May 2019 19:23:05 -0700 Subject: [PATCH] more de-virt getRevision() --- src/remote/pv/codec.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/remote/pv/codec.h b/src/remote/pv/codec.h index 6265d42..f3b4aaa 100644 --- a/src/remote/pv/codec.h +++ b/src/remote/pv/codec.h @@ -240,6 +240,12 @@ public: return _sendQueue.empty(); } + epics::pvData::int8 getRevision() const { + epicsGuard G(_mutex); + int8_t myver = _clientServerFlag ? PVA_SERVER_PROTOCOL_REVISION : PVA_CLIENT_PROTOCOL_REVISION; + return myver < _version ? myver : _version; + } + protected: virtual void sendBufferFull(int tries) = 0; @@ -365,12 +371,6 @@ public: return _socketName; } - epics::pvData::int8 getRevision() const { - epicsGuard G(_mutex); - int8_t myver = _clientServerFlag ? PVA_SERVER_PROTOCOL_REVISION : PVA_CLIENT_PROTOCOL_REVISION; - return myver < _version ? myver : _version; - } - virtual std::size_t getReceiveBufferSize() const OVERRIDE FINAL { return _socketBuffer.getSize();