Skip to content
Snippets Groups Projects
Commit 8fdcdedc authored by Daniel Agar's avatar Daniel Agar
Browse files

Publication remove unused instance class member

parent 3d9cd5c0
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,8 @@ bool PublicationBase::update(void *data)
orb_advert_t handle = nullptr;
if (_priority > 0) {
handle = orb_advertise_multi(_meta, data, &_instance, _priority);
int instance;
handle = orb_advertise_multi(_meta, data, &instance, _priority);
} else {
handle = orb_advertise(_meta, data);
......
......@@ -81,7 +81,6 @@ protected:
const struct orb_metadata *_meta;
const int _priority;
int _instance{0};
orb_advert_t _handle{nullptr};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment