Skip to content

Commit

Permalink
iox-#605 Rename include guard for classes in 'memory' module
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <[email protected]>
  • Loading branch information
mossmaurice committed Sep 29, 2022
1 parent d55b3b2 commit 5885e26
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 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_RELOCATABLE_POINTER_POINTER_REPOSITORY_HPP
#define IOX_HOOFS_RELOCATABLE_POINTER_POINTER_REPOSITORY_HPP
#ifndef IOX_HOOFS_MEMORY_POINTER_REPOSITORY_HPP
#define IOX_HOOFS_MEMORY_POINTER_REPOSITORY_HPP

#include "iceoryx_hoofs/cxx/optional.hpp"
#include "iceoryx_hoofs/cxx/vector.hpp"
Expand Down Expand Up @@ -117,4 +117,4 @@ class PointerRepository

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

#endif // IOX_HOOFS_RELOCATABLE_POINTER_POINTER_REPOSITORY_HPP
#endif // IOX_HOOFS_MEMORY_POINTER_REPOSITORY_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_RELOCATABLE_POINTER_POINTER_REPOSITORY_INL
#define IOX_HOOFS_RELOCATABLE_POINTER_POINTER_REPOSITORY_INL
#ifndef IOX_HOOFS_MEMORY_POINTER_REPOSITORY_INL
#define IOX_HOOFS_MEMORY_POINTER_REPOSITORY_INL

#include "iceoryx_hoofs/internal/memory/pointer_repository.hpp"

Expand Down Expand Up @@ -139,4 +139,4 @@ inline bool PointerRepository<id_t, ptr_t, CAPACITY>::addPointerIfIdIsFree(const
} // namespace memory
} // namespace iox

#endif // IOX_HOOFS_RELOCATABLE_POINTER_POINTER_REPOSITORY_INL
#endif // IOX_HOOFS_MEMORY_POINTER_REPOSITORY_INL
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_RELOCATABLE_POINTER_RELATIVE_POINTER_HPP
#define IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_HPP
#ifndef IOX_HOOFS_MEMORY_RELATIVE_POINTER_HPP
#define IOX_HOOFS_MEMORY_RELATIVE_POINTER_HPP

#include "iceoryx_hoofs/cxx/newtype.hpp"
#include "iceoryx_hoofs/internal/memory/pointer_repository.hpp"
Expand Down Expand Up @@ -213,4 +213,4 @@ PointerRepository<segment_id_underlying_t, UntypedRelativePointer::ptr_t>& getRe

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

#endif // IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_HPP
#endif // IOX_HOOFS_MEMORY_RELATIVE_POINTER_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_RELOCATABLE_POINTER_RELATIVE_POINTER_INL
#define IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_INL
#ifndef IOX_HOOFS_MEMORY_RELATIVE_POINTER_INL
#define IOX_HOOFS_MEMORY_RELATIVE_POINTER_INL

#include "iceoryx_hoofs/internal/memory/relative_pointer.hpp"

Expand Down Expand Up @@ -247,4 +247,4 @@ inline PointerRepository<segment_id_underlying_t, UntypedRelativePointer::ptr_t>
} // namespace memory
} // namespace iox

#endif // IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_INL
#endif // IOX_HOOFS_MEMORY_RELATIVE_POINTER_INL
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// SPDX-License-Identifier: Apache-2.0

#ifndef IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_DATA_HPP
#define IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_DATA_HPP
#ifndef IOX_HOOFS_MEMORY_RELATIVE_POINTER_DATA_HPP
#define IOX_HOOFS_MEMORY_RELATIVE_POINTER_DATA_HPP

#include "iceoryx_hoofs/cxx/helplets.hpp"

Expand Down Expand Up @@ -84,4 +84,4 @@ class RelativePointerData

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

#endif // IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_DATA_HPP
#endif // IOX_HOOFS_MEMORY_RELATIVE_POINTER_DATA_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// SPDX-License-Identifier: Apache-2.0

#ifndef IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_DATA_INL
#define IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_DATA_INL
#ifndef IOX_HOOFS_MEMORY_RELATIVE_POINTER_DATA_INL
#define IOX_HOOFS_MEMORY_RELATIVE_POINTER_DATA_INL

#include "iceoryx_hoofs/internal/memory/relative_pointer_data.hpp"

Expand All @@ -35,4 +35,4 @@ constexpr RelativePointerData::RelativePointerData(identifier_t id, offset_t off
} // namespace memory
} // namespace iox

#endif // IOX_HOOFS_RELOCATABLE_POINTER_RELATIVE_POINTER_DATA_INL
#endif // IOX_HOOFS_MEMORY_RELATIVE_POINTER_DATA_INL

0 comments on commit 5885e26

Please sign in to comment.