From a3e62d3bc6e7f75949726f9a8dafe03e757e869b Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 30 Oct 2016 13:38:49 +0100 Subject: Added the Preprocessing step for the Precomputation of CMix. --- libcmix-common/cmixprotofunctor.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 libcmix-common/cmixprotofunctor.cpp (limited to 'libcmix-common/cmixprotofunctor.cpp') diff --git a/libcmix-common/cmixprotofunctor.cpp b/libcmix-common/cmixprotofunctor.cpp deleted file mode 100644 index 525b3c9..0000000 --- a/libcmix-common/cmixprotofunctor.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "cmixprotofunctor.hpp" - -#define MESSAGE_SETTER_DEF(TYPE, NAME) \ - CMixProtoFunctor::proto_type CMixProtoFunctor::operator()(cmix_proto::TYPE const& v) { \ - proto_type m; \ - *m.mutable_##NAME() = v; \ - return m; \ - } \ - -MESSAGE_SETTER_DEF(Initialization, initialization) -MESSAGE_SETTER_DEF(ImANode, imanode) -MESSAGE_SETTER_DEF(ImAClient, imaclient) -MESSAGE_SETTER_DEF(Bye, bye) -MESSAGE_SETTER_DEF(KeyExchange, keyexchange) -MESSAGE_SETTER_DEF(SecretKey, secretkey) -MESSAGE_SETTER_DEF(NodeReady, nodeready) - -#undef MESSAGE_SETTER_DEF \ No newline at end of file -- cgit v1.2.3-70-g09d2