X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2Fxapp_t2.cpp;h=1dc4da32900aa29b5e8e49dd6cfe05d84ab8b44f;hb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;hp=67aa72f7273209e78759651e79c17f2e70560fbd;hpb=8ec1e3c2dec6ba4fa83fe63e4207d47b4b0f3b3f;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/examples/xapp_t2.cpp b/examples/xapp_t2.cpp index 67aa72f..1dc4da3 100644 --- a/examples/xapp_t2.cpp +++ b/examples/xapp_t2.cpp @@ -45,8 +45,8 @@ extern int main( int argc, char** argv ) { std::unique_ptr xfw; - std::unique_ptr msg; - Msg_component payload; // special type of unique pointer to the payload + std::unique_ptr msg; + xapp::Msg_component payload; // special type of unique pointer to the payload int sz; int len; @@ -108,7 +108,7 @@ extern int main( int argc, char** argv ) { len = snprintf( (char *) payload.get(), sz, "This is message %d\n", i ); // payload updated in place, prevent copy by passing nil - if ( ! msg->Send_msg( mtype, Message::NO_SUBID, len, NULL )) { + if ( ! msg->Send_msg( mtype, xapp::Message::NO_SUBID, len, NULL )) { fprintf( stderr, " send failed: %d\n", i ); }