Skip to content

Commit

Permalink
fixup! pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
milroy committed Aug 20, 2023
1 parent 2f21c45 commit e9b8735
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions resource/planner/c++/scheduled_point_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@
#define SCHEDULED_POINT_TREE_HPP

#include <cstdint>
#ifdef __clang__
#if defined (__clang__) || (__GNUC__ <= 11)
#include "src/common/yggdrasil/rbtree.hpp"
#elif (__GNUC__ > 11)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-template-keyword"
#include "src/common/yggdrasil/rbtree.hpp"
#pragma GCC diagnostic pop
#elif (__GNUC__ <= 11)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wno-error=missing-template-keyword"
#include "src/common/yggdrasil/rbtree.hpp"
#pragma GCC diagnostic pop
#endif

struct scheduled_point_t;
Expand Down

0 comments on commit e9b8735

Please sign in to comment.