Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1391 Adapt include guard of 'unique_ptr'
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
  • Loading branch information
mossmaurice committed Oct 6, 2022
1 parent 94ac621 commit 9a25e72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
// SPDX-License-Identifier: Apache-2.0

#ifndef IOX_HOOFS_CXX_UNIQUE_PTR_INL
#define IOX_HOOFS_CXX_UNIQUE_PTR_INL
#ifndef IOX_HOOFS_MEMORY_UNIQUE_PTR_INL
#define IOX_HOOFS_MEMORY_UNIQUE_PTR_INL

#include "iceoryx_hoofs/memory/unique_ptr.hpp"

Expand Down Expand Up @@ -127,4 +127,4 @@ inline bool operator!=(const unique_ptr<T>& lhs, const unique_ptr<U>& rhs) noexc
} // namespace memory
} // namespace iox

#endif // IOX_HOOFS_CXX_UNIQUE_PTR_INL
#endif // IOX_HOOFS_MEMORY_UNIQUE_PTR_INL
6 changes: 3 additions & 3 deletions iceoryx_hoofs/include/iceoryx_hoofs/memory/unique_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
// SPDX-License-Identifier: Apache-2.0

#ifndef IOX_HOOFS_CXX_UNIQUE_PTR_HPP
#define IOX_HOOFS_CXX_UNIQUE_PTR_HPP
#ifndef IOX_HOOFS_MEMORY_UNIQUE_PTR_HPP
#define IOX_HOOFS_MEMORY_UNIQUE_PTR_HPP

#include "iceoryx_hoofs/cxx/function.hpp"
#include "iceoryx_hoofs/cxx/requires.hpp"
Expand Down Expand Up @@ -146,4 +146,4 @@ bool operator!=(const unique_ptr<T>& lhs, const unique_ptr<U>& rhs) noexcept;

#include "iceoryx_hoofs/internal/memory/unique_ptr.inl"

#endif // IOX_HOOFS_CXX_UNIQUE_PTR_HPP
#endif // IOX_HOOFS_MEMORY_UNIQUE_PTR_HPP

0 comments on commit 9a25e72

Please sign in to comment.