Skip to content

Commit d880c2d

Browse files
iox-#1391 Use pragma message, adapt two overlooked include paths
Signed-off-by: Marika Lehmann <[email protected]>
1 parent 1b9030f commit d880c2d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

iceoryx_hoofs/include/iceoryx_hoofs/internal/posix_wrapper/shared_memory_object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
#define IOX_HOOFS_POSIX_WRAPPER_SHARED_MEMORY_OBJECT_HPP
1919

2020
#include "iceoryx_hoofs/cxx/filesystem.hpp"
21-
#include "iceoryx_hoofs/design_pattern/builder.hpp"
2221
#include "iceoryx_hoofs/internal/posix_wrapper/shared_memory_object/memory_map.hpp"
2322
#include "iceoryx_hoofs/internal/posix_wrapper/shared_memory_object/shared_memory.hpp"
2423
#include "iceoryx_platform/stat.hpp"
24+
#include "iox/builder.hpp"
2525
#include "iox/bump_allocator.hpp"
2626
#include "iox/optional.hpp"
2727

iceoryx_hoofs/include/iceoryx_hoofs/internal/posix_wrapper/shared_memory_object/memory_map.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
#ifndef IOX_HOOFS_POSIX_WRAPPER_SHARED_MEMORY_OBJECT_MEMORY_MAP_HPP
1818
#define IOX_HOOFS_POSIX_WRAPPER_SHARED_MEMORY_OBJECT_MEMORY_MAP_HPP
1919

20-
#include "iceoryx_hoofs/design_pattern/builder.hpp"
2120
#include "iceoryx_hoofs/internal/posix_wrapper/shared_memory_object/shared_memory.hpp"
2221
#include "iceoryx_platform/mman.hpp"
22+
#include "iox/builder.hpp"
2323

2424
#include <cstdint>
2525

iceoryx_hoofs/legacy/include/iceoryx_hoofs/design_pattern/builder.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define IOX_HOOFS_DESIGN_PATTERN_BUILDER_HPP
1919

2020
#include "iox/builder.hpp"
21-
/// @deprecated please include 'iox/builder.hpp' instead of 'iceoryx_hoofs/design_pattern/builder.hpp'
21+
#pragma message( \
22+
"Deprecated in 3.0, removed in 4.0, please include 'iox/builder.hpp' instead of 'iceoryx_hoofs/design_pattern/builder.hpp'")
2223

2324
#endif

0 commit comments

Comments
 (0)