Skip to content

Commit

Permalink
include/__set_internal.h: minor copy&paste struct
Browse files Browse the repository at this point in the history
Remove incorrect name of variable in op function definition, as a
result of copy&paste from map code. Not affecting running code.
  • Loading branch information
msune committed Aug 26, 2023
1 parent 4f550a7 commit 23c16af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/cdada/__set_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ typedef struct __cdada_set_ops{
int (*insert)(cdada_set_t* m, const void* key);
int (*erase)(cdada_set_t* m, const void* key);
bool (*find)(const cdada_set_t* m, const void* key);
int (*first_last)(const cdada_set_t* map, bool first, void* key);
int (*first_last)(const cdada_set_t* set, bool first, void* key);
void (*traverse)(const cdada_set_t* m, cdada_set_it f, void* opaque);
void (*rtraverse)(const cdada_set_t* m, cdada_set_it f, void* opaque);
void (*dump)(const cdada_set_t* m, std::stringstream& ss);
Expand Down
2 changes: 1 addition & 1 deletion src/set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -831,4 +831,4 @@ int cdada_set_print(cdada_set_t* set, FILE *stream){
}

return CDADA_SUCCESS;
}
}

0 comments on commit 23c16af

Please sign in to comment.