Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Converter/src/chunker_countsort_laszip.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>
#include <filesystem>
#include <unordered_map>
Expand Down Expand Up @@ -584,8 +583,8 @@ namespace chunker_countsort_laszip {
int attributeSize = inputAttribute.size;

if (attribute != nullptr) {
auto handleAttribute = [data, point, header, attributeSize, attributeOffset, sourceOffset, attribute](int64_t offset) {
memcpy(data + offset + attributeOffset, point->extra_bytes + sourceOffset, attributeSize);
auto handleAttribute = [data, point, header, attributeSize, targetOffset, sourceOffset, attribute](int64_t offset) {
memcpy(data + offset + targetOffset, point->extra_bytes + sourceOffset, attributeSize);

std::function<double(uint8_t*)> f;

Expand Down