Skip to content

Commit

Permalink
iox-eclipse-iceoryx#91 Remove obsolete shared memory base address in …
Browse files Browse the repository at this point in the history
…RouDiConfig

Signed-off-by: Hoinkis Simon (CC-AD/ESW1) <simon.hoinkis2@de.bosch.com>
  • Loading branch information
mossmaurice committed Aug 25, 2020
1 parent 5a3049c commit 5ddecf3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions iceoryx_posh/include/iceoryx_posh/roudi/roudi_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ namespace roudi
{
struct RouDiConfig
{
struct
{
/// @todo since we are now fully relocatable, this can be removed
uint64_t m_sharedMemoryBaseAddressOffset = 0u;
bool m_verifySharedMemoryPlacement = false;
} roudi;

RouDiConfig& setDefaults();
RouDiConfig& optimize();
};
Expand Down
2 changes: 0 additions & 2 deletions iceoryx_posh/source/roudi/roudi_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ namespace roudi
{
RouDiConfig& RouDiConfig::setDefaults()
{
roudi.m_sharedMemoryBaseAddressOffset = 0ull;
roudi.m_verifySharedMemoryPlacement = false;
return *this;
}

Expand Down
1 change: 0 additions & 1 deletion iceoryx_posh/test/moduletests/test_roudi_shm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class PortManager_test : public Test
// starting at {1,1,1}

auto config = iox::RouDiConfig_t().setDefaults();
config.roudi.m_verifySharedMemoryPlacement = false;
m_roudiMemoryManager = new IceOryxRouDiMemoryManager(config);
m_roudiMemoryManager->createAndAnnounceMemory();
m_shmManager = new CShmMangerTester(m_roudiMemoryManager);
Expand Down

0 comments on commit 5ddecf3

Please sign in to comment.