Github user PivotalSarge commented on a diff in the pull request:

    https://github.com/apache/geode-native/pull/36#discussion_r103279163
  
    --- Diff: src/cppcache/src/LRUList.hpp ---
    @@ -20,32 +20,32 @@
      * limitations under the License.
      */
     
    +#include <atomic>
    +
     #include <geode/geode_globals.hpp>
     #include <geode/SharedPtr.hpp>
    -#include "SpinLock.hpp"
    +
    +#include "util/concurrent/spinlock_mutex.hpp"
     
     namespace apache {
     namespace geode {
     namespace client {
    +
     // Bit mask for recently used
    -#define RECENTLY_USED_BITS 1ul
    +#define RECENTLY_USED_BITS 1u
     // Bit mask for evicted
    -#define EVICTED_BITS 2ul
    +#define EVICTED_BITS 2u
    --- End diff --
    
    Could these be const variables in an anonymous namespace instead?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to