Refactor optional pointer to pointer

This commit is contained in:
Filip Klembara
2021-02-08 10:13:31 +01:00
parent 2b7dc4c529
commit 09dfc39fd9
12 changed files with 108 additions and 134 deletions

View File

@ -30,11 +30,11 @@ class RTC_CPP_EXPORT MediaChainableHandler : public MediaHandler {
std::shared_ptr<MediaHandlerElement> leaf;
std::mutex inoutMutex;
std::optional<message_ptr> handleIncomingBinary(message_ptr);
std::optional<message_ptr> handleIncomingControl(message_ptr);
std::optional<message_ptr> handleOutgoingBinary(message_ptr);
std::optional<message_ptr> handleOutgoingControl(message_ptr);
bool sendProduct(ChainedOutgoingResponseProduct product);
message_ptr handleIncomingBinary(message_ptr);
message_ptr handleIncomingControl(message_ptr);
message_ptr handleOutgoingBinary(message_ptr);
message_ptr handleOutgoingControl(message_ptr);
bool sendProduct(ChainedOutgoingProduct product);
public:
MediaChainableHandler(std::shared_ptr<MediaHandlerRootElement> root);
~MediaChainableHandler();