summary refs log tree commit diff
diff options
context:
space:
mode:
authorNewe <speedy.wolfy@outlook.com>2021-05-21 15:51:57 +0200
committerNewe <speedy.wolfy@outlook.com>2021-05-21 15:51:57 +0200
commitc29252d5e54020050fb8f431122e181f44a5153e (patch)
tree96eb780b814490878fa640792f41c1da60059c34
parent[edit] Hypothetical gRPC handshake (diff)
downloadserver-c29252d5e54020050fb8f431122e181f44a5153e.tar.xz
[add] RpcStub header guards
-rw-r--r--src/rpcStub.hpp5
1 files changed, 4 insertions, 1 deletions
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<rtcPeerHandler> peerHandler, int port); @@ -9,4 +11,5 @@ class rpcStub{ private: std::shared_ptr<rtcPeerHandler> ph; -}; \ No newline at end of file +}; +#endif \ No newline at end of file