Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[[no_unique_address]] to compact Triangulation_ds_full_cell #8045

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
args: spdx
- name: install dependencies
run: sudo apt-get install -y cmake
run: sudo apt-get update && sudo apt-get install -y cmake
- name: Create CGAL internal release
run: |
mkdir -p ./release
Expand Down
4 changes: 3 additions & 1 deletion Triangulation/include/CGAL/Triangulation_ds_full_cell.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ class Triangulation_ds_full_cell
const Vertex_handle_array & vertices() const {return combinatorics_.vertices_; }

// DATA MEMBERS
Combinatorics combinatorics_;
// With the Itanium ABI, [[no_unique_address]] allows tda_data_ to reuse the
// padding bytes at the end of combinatorics_ when using the mirror policy.
CGAL_NO_UNIQUE_ADDRESS Combinatorics combinatorics_;
mutable TDS_data tds_data_;
};

Expand Down