From c29252d5e54020050fb8f431122e181f44a5153e Mon Sep 17 00:00:00 2001 From: Newe Date: Fri, 21 May 2021 15:51:57 +0200 Subject: [PATCH] [add] RpcStub header guards --- src/rpcStub.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rpcStub.hpp b/src/rpcStub.hpp index f567cd97..d183cf3c 100644 --- a/src/rpcStub.hpp +++ b/src/rpcStub.hpp @@ -2,6 +2,8 @@ #include "protodefs/include/protos.grpc.pb.h" #include "rtcPeerHandler.hpp" +#ifndef RPCSTUB +#define RPCSTUB class rpcStub{ public: rpcStub(std::shared_ptr peerHandler, int port); @@ -9,4 +11,5 @@ class rpcStub{ private: std::shared_ptr ph; -}; \ No newline at end of file +}; +#endif \ No newline at end of file