Skip to content

Commit

Permalink
Remove some odd copy&paste comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Dec 9, 2024
1 parent 2a31787 commit 95bdb5e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/support/tests/TestFluentTreeObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,24 +91,24 @@ EndpointData gEndpointDataItems[] = {
/// search index definitions
struct ByEndpoint
{
using Key = EndpointId; // the KEY inside a type │ │ │
using Type = const EndpointData; // the values for a sub-search │ │ │
using Key = EndpointId;
using Type = const EndpointData;
static Span<Type> GetSpan(EndpointItemsWrapper & data) { return data.data; }
static bool HasKey(const Key & id, const Type & instance) { return instance.id == id; }
};

struct ByServerCluster
{
using Key = ClusterId; // the KEY inside a type │ │ │
using Type = const ClusterData; // the values for a sub-search │ │ │
using Key = ClusterId;
using Type = const ClusterData;
static Span<Type> GetSpan(const EndpointData & data) { return data.serverClusters; }
static bool HasKey(const Key & id, const Type & instance) { return instance.id == id; }
};

struct ByClientCluster
{
using Key = ClusterId; // the KEY inside a type │ │ │
using Type = const ClusterData; // the values for a sub-search │ │ │
using Key = ClusterId;
using Type = const ClusterData;
static Span<Type> GetSpan(const EndpointData & data) { return data.clientClusters; }
static bool HasKey(const Key & id, const Type & instance) { return instance.id == id; }
};
Expand Down

0 comments on commit 95bdb5e

Please sign in to comment.