Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1450 Add release note entry for renaming of Gener…
Browse files Browse the repository at this point in the history
…icRAII

Signed-off-by: Simon Hoinkis <[email protected]>
  • Loading branch information
mossmaurice committed Aug 22, 2022
1 parent 13565f2 commit 8db7fe1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions doc/website/release-notes/iceoryx-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
- Moved package `iceoryx_dds` to [separate repository](https://github.com/eclipse-iceoryx/iceoryx-gateway-dds) [\#1564](https://github.com/eclipse-iceoryx/iceoryx/issues/1564)
- Set `SOVERSION` with project major version for shared libraries in CMake [\#1308](https://github.com/eclipse-iceoryx/iceoryx/issues/1308)
- Monitoring feature of RouDi is now disabled by default [\#1580](https://github.com/eclipse-iceoryx/iceoryx/issues/1580)
- Renamed `cxx::GenericRAII` to `cxx::ScopeGuard` [\#1450](https://github.com/eclipse-iceoryx/iceoryx/issues/1450)

**Workflow:**

Expand Down Expand Up @@ -318,3 +319,27 @@
std::cout << arrayCapacity(LITERAL2) << std::endl; // prints 20
std::cout << arrayCapacity(ARRAY) << std::endl; // prints 42
```

18. Rename `cxx::GenericRAII` to `cxx::ScopeGuard`

```cpp
// before
#include "iceoryx_hoofs/cxx/generic_raii.hpp"
iox::cxx::GenericRAII {[]()
{
// do on creation
},[]()
{
// do on destruction
}};

// after
#include "iceoryx_hoofs/cxx/scope_guard.hpp"
iox::cxx::ScopeGuard {[]()
{
// do on creation
},[]()
{
// do on destruction
}};
```

0 comments on commit 8db7fe1

Please sign in to comment.