X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmessaging%2Fmsg_component.hpp;h=95e445c62e7875dcc0cb5fb9e7498a7f4fe9fbfb;hb=c85ac8bccf13f6aba024fef47453f3e1b6c3c615;hp=40662a2fd8a787aad4b7949f2e530ad175731a66;hpb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/src/messaging/msg_component.hpp b/src/messaging/msg_component.hpp index 40662a2..95e445c 100644 --- a/src/messaging/msg_component.hpp +++ b/src/messaging/msg_component.hpp @@ -47,7 +47,7 @@ namespace xapp { such a smart pointer, and does _nothing_ when called. */ typedef struct { - void operator()( unsigned char * p ){} + void operator()( unsigned char * p ) const { /* empty to prevent free */ } } unfreeable; /*