You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "dgkimura (GitHub)" <gi...@apache.org> on 2019/10/28 18:54:40 UTC
[GitHub] [geode-native] dgkimura commented on pull request #543: Some
cleanup in ThinClientPoolDM
Admittedly, I don't know the current best-practice in C++, but I think this looks a little meh and leads me think the macro is wrong. If the spurious semicolon bothers you, then I would change the macro to...
```
#define _GEODE_SAFE_DELETE(x) \
do { \
delete x; \
x = nullptr; \
} while (0)
```
[ Full content available at: https://github.com/apache/geode-native/pull/543 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org