Skip to content

Commit

Permalink
Make Fast DDS build compatible with GCC 9 (#5178)
Browse files Browse the repository at this point in the history
* Fix the problem that gcc-9 cannot compile

Signed-off-by: paxifaer <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

Co-authored-by: Jesús Poderoso <[email protected]>

* Revert missing noexcept  suggested by JesusPoderoso.

Signed-off-by: paxifaer <[email protected]>

* Update src/cpp/fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.hpp

---------

Signed-off-by: paxifaer <[email protected]>
Co-authored-by: Jesús Poderoso <[email protected]>
  • Loading branch information
paxifaer and JesusPoderoso authored Sep 2, 2024
1 parent ccc690c commit a40b229
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ class AnnotationDescriptorImpl : public virtual AnnotationDescriptor

public:

AnnotationDescriptorImpl() noexcept = default;
AnnotationDescriptorImpl() = default;

AnnotationDescriptorImpl(
const AnnotationDescriptorImpl&) noexcept = default;
const AnnotationDescriptorImpl&) = default;

AnnotationDescriptorImpl(
AnnotationDescriptorImpl&&) noexcept = default;
AnnotationDescriptorImpl&&) = default;

virtual ~AnnotationDescriptorImpl() noexcept = default;
virtual ~AnnotationDescriptorImpl() = default;

traits<DynamicType>::ref_type type() const noexcept override
{
Expand Down

0 comments on commit a40b229

Please sign in to comment.