[GitHub] [geode-native] pivotal-jbarrett commented on pull request #430: GEODE-6210: Add 'transaction' example for cpp
This compiles? So we have non-static `rd` passed to a static `e`. At best here we allocating more `rd` on each call that we will never use. [ Full content available at: https://github.com/apache/geode-native/pull/430 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] pivotal-jbarrett commented on pull request #430: GEODE-6210: Add 'transaction' example for cpp
```C++ static thread_local std::default_random_engine generator(std::random_device{}()); auto value = std::uniform_int_distribution{0, 9}(generator); ... ``` [ Full content available at: https://github.com/apache/geode-native/pull/430 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org