Update examples/samples/subscriber.cpp