Missing lambda capture.

This commit is contained in:
Jared Boone 2015-12-10 21:21:42 -08:00
parent 211d1d19ea
commit 75b1cc25ff

View File

@ -127,9 +127,9 @@ public:
void run() {
message_map.register_handler(Message::ID::BasebandConfiguration,
[](const Message* const p) {
[this](const Message* const p) {
auto message = reinterpret_cast<const BasebandConfigurationMessage*>(p);
baseband_thread.set_configuration(message->configuration);
this->baseband_thread.set_configuration(message->configuration);
}
);