From 8e52f0762185b68d635dfb3a9868d8f6627a9977 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 8 May 2020 14:49:25 +0200 Subject: [PATCH] changed NO_DATA enum to NO_DATA_YET. Seems that this is an existing define on windows --- libretroshare/src/services/p3gxscircles.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libretroshare/src/services/p3gxscircles.h b/libretroshare/src/services/p3gxscircles.h index eaefdf0e8..e57cd7652 100644 --- a/libretroshare/src/services/p3gxscircles.h +++ b/libretroshare/src/services/p3gxscircles.h @@ -128,13 +128,13 @@ public: uint32_t subscription_flags ; // combination of GXS_EXTERNAL_CIRCLE_FLAGS_IN_ADMIN_LIST and GXS_EXTERNAL_CIRCLE_FLAGS_SUBSCRIBED }; -enum CircleEntryCacheStatus: uint8_t { +typedef enum CircleEntryCacheStatus: uint8_t { UNKNOWN = 0x00, // Used to detect uninitialized memory - NO_DATA = 0x01, // Used in the constuctor + NO_DATA_YET = 0x01, // Used in the constuctor LOADING = 0x02, // When the token request to load cache has been sent and no data is present UPDATING = 0x03, // Starting from this level the cache entry can be used CHECKING_MEMBERSHIP = 0x04, // Means we're actually looking into msgs to update membership status - UP_TO_DATE = 0x05, // Everything should be loaded here. + UP_TO_DATE = 0x05 // Everything should be loaded here. }; class RsGxsCircleCache