Skip to content

Commit

Permalink
Fix compatibility with gcc version >11.4.0 by adding includes for opt…
Browse files Browse the repository at this point in the history
…ional
  • Loading branch information
kratkvit committed Sep 18, 2024
1 parent 981f289 commit 99dcffb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/mrs_lib/geometry/shapes.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#ifndef SHAPES_H
#define SHAPES_H

#include <optional>

#include <boost/optional.hpp>
#include <Eigen/Dense>

Expand Down
2 changes: 2 additions & 0 deletions include/mrs_lib/param_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef PARAM_PROVIDER_H
#define PARAM_PROVIDER_H

#include <optional>

#include <yaml-cpp/yaml.h>
#include <ros/node_handle.h>

Expand Down
2 changes: 2 additions & 0 deletions include/mrs_lib/subscribe_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef SUBRSCRIBE_HANDLER_H
#define SUBRSCRIBE_HANDLER_H

#include <optional>

#include <ros/ros.h>
#include <mrs_lib/timeout_manager.h>

Expand Down

0 comments on commit 99dcffb

Please sign in to comment.