Skip to content

Commit

Permalink
Get rid of c++17 req.
Browse files Browse the repository at this point in the history
  • Loading branch information
FrauBluher committed Jun 9, 2024
1 parent 89e5155 commit b334984
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/mavlink-router/endpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@

#define UART_BAUD_RETRY_SEC 5

static std::mutex _group_sys_comp_ids_mutex;
static std::map<uint32_t, std::vector<uint16_t>> _group_sys_comp_ids;

Endpoint::Endpoint(const std::string& name)
: _name{name}, _message_log(Mainloop::get_instance())
{
Expand Down
4 changes: 2 additions & 2 deletions src/mavlink-router/endpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ class Endpoint : public Pollable {

uint32_t _incomplete_msgs = 0;
std::vector<uint16_t> _sys_comp_ids;
inline static std::mutex _group_sys_comp_ids_mutex;
inline static std::map<uint32_t, std::vector<uint16_t>> _group_sys_comp_ids;
static std::mutex _group_sys_comp_ids_mutex;
static std::map<uint32_t, std::vector<uint16_t>> _group_sys_comp_ids;

private:
Timeout* _expire_timer = nullptr;
Expand Down

0 comments on commit b334984

Please sign in to comment.