Skip to content

Commit

Permalink
Patch release.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Feb 11, 2023
1 parent 2e39654 commit a1833de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Sources/CRoaring/include/roaring.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
// Created by amalgamation.sh on 2023-02-09T21:36:47Z
// Created by amalgamation.sh on 2023-02-11T22:19:22Z

/*
* The CRoaring project is under a dual license (Apache/MIT).
Expand Down Expand Up @@ -58,11 +58,11 @@
// /include/roaring/roaring_version.h automatically generated by release.py, do not change by hand
#ifndef ROARING_INCLUDE_ROARING_VERSION
#define ROARING_INCLUDE_ROARING_VERSION
#define ROARING_VERSION "0.9.5"
#define ROARING_VERSION "0.9.6"
enum {
ROARING_VERSION_MAJOR = 0,
ROARING_VERSION_MINOR = 9,
ROARING_VERSION_REVISION = 5
ROARING_VERSION_REVISION = 6
};
#endif // ROARING_INCLUDE_ROARING_VERSION
/* end file include/roaring/roaring_version.h */
Expand Down
12 changes: 2 additions & 10 deletions Sources/CRoaring/roaring.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
// Created by amalgamation.sh on 2023-02-09T21:36:47Z
// Created by amalgamation.sh on 2023-02-11T22:19:22Z

/*
* The CRoaring project is under a dual license (Apache/MIT).
Expand Down Expand Up @@ -6715,15 +6715,7 @@ static inline container_t *container_remove_range(
}

run_container_remove_range(run, min, max);

if (run_container_serialized_size_in_bytes(run->n_runs) <=
bitset_container_serialized_size_in_bytes()) {
*result_type = RUN_CONTAINER_TYPE;
return run;
} else {
*result_type = BITSET_CONTAINER_TYPE;
return bitset_container_from_run(run);
}
return convert_run_to_efficient_container(run, result_type);
}
default:
__builtin_unreachable();
Expand Down

0 comments on commit a1833de

Please sign in to comment.