Unverified Commit e00697c6 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #6903 from mavlink/houseKeeping

House keeping
parents f3a6f831 d59536db
...@@ -68,6 +68,8 @@ linux { ...@@ -68,6 +68,8 @@ linux {
#-- Not forcing anything. Let qmake find the latest, installed SDK. #-- Not forcing anything. Let qmake find the latest, installed SDK.
#QMAKE_MAC_SDK = macosx10.12 #QMAKE_MAC_SDK = macosx10.12
QMAKE_CXXFLAGS += -fvisibility=hidden QMAKE_CXXFLAGS += -fvisibility=hidden
#-- Disable annoying warnings comming from mavlink.h
QMAKE_CXXFLAGS += -Wno-address-of-packed-member
} else { } else {
error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported") error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported")
} }
......
...@@ -60,6 +60,7 @@ class Traffic : DoNotCopyOrMove { ...@@ -60,6 +60,7 @@ class Traffic : DoNotCopyOrMove {
/// Subscriber abstracts handling of batches of Update instances. /// Subscriber abstracts handling of batches of Update instances.
class Subscriber { class Subscriber {
public: public:
virtual ~Subscriber() = default;
/// handle_update is invoked when a new batch of Update instances /// handle_update is invoked when a new batch of Update instances
/// is available. /// is available.
virtual void handle_update(Update::Type type, const std::vector<Update>& update) = 0; virtual void handle_update(Update::Type type, const std::vector<Update>& update) = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment