Skip to content

Commit

Permalink
Try other solution
Browse files Browse the repository at this point in the history
  • Loading branch information
uurien committed Oct 17, 2024
1 parent 7cf3d81 commit 0718262
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/api/array_join.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ namespace api {
const int DEFAULT_JOIN_SEPARATOR_LENGTH = 1;

void copyRangesWithOffset(
Transaction* transaction,
SharedRanges* origRanges,
SharedRanges** destRanges,
int offset) {
Transaction* transaction,
SharedRanges* origRanges,
SharedRanges** destRanges,
int offset
) {
if (origRanges != nullptr) {
auto end = origRanges->end();
for (auto it = origRanges->begin(); it != end; it++) {
Expand All @@ -54,10 +55,12 @@ int offset) {
}
}

SharedRanges* getJoinResultRanges(Isolate* isolate,
Transaction* transaction, v8::Array* arr,
SharedRanges* separatorRanges,
int separatorLength) {
SharedRanges* getJoinResultRanges(
Isolate* isolate,
Transaction* transaction, v8::Array* arr,
SharedRanges* separatorRanges,
int separatorLength
) {
auto length = arr->Length();
int offset = 0;
SharedRanges* newRanges = nullptr;
Expand Down

0 comments on commit 0718262

Please sign in to comment.