pvac fix MailboxHandler

This is why OVERRIDE is so important...
This commit is contained in:
Michael Davidsaver
2018-07-31 16:50:27 -07:00
parent f39174cb74
commit 8b60d87e42

View File

@@ -26,9 +26,9 @@
namespace {
struct MailboxHandler : public pvas::SharedPV::Handler {
virtual ~MailboxHandler() {}
virtual void onPut(pvas::SharedPV& self, pvas::Operation& op)
virtual void onPut(const pvas::SharedPV::shared_pointer& self, pvas::Operation& op) OVERRIDE FINAL
{
self.post(op.value(), op.changed());
self->post(op.value(), op.changed());
op.info("Set!");
op.complete();
}