From bc39d05453340257fff986edfdd728f2a89d13ad Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Thu, 1 Dec 2016 14:34:18 +0100 Subject: Removed a large chunk of code duplication in the network code. --- libcmix-common/senderreceiver.hpp | 80 ++++++++++++++------------------------- 1 file changed, 29 insertions(+), 51 deletions(-) (limited to 'libcmix-common/senderreceiver.hpp') diff --git a/libcmix-common/senderreceiver.hpp b/libcmix-common/senderreceiver.hpp index 6654809..3514c7e 100644 --- a/libcmix-common/senderreceiver.hpp +++ b/libcmix-common/senderreceiver.hpp @@ -9,76 +9,54 @@ /*! * \file */ - + /*! - * \brief The SenderReciever struct is a shim around ProtobufClient and only exposes things needed - * for Sending and Receiving messages. + * \brief BaseSenderReceiver */ -struct SenderReceiver : private ProtobufClient -{ - /*! +template