Skip to content

Remove CCShareable / + associated custom holders in favor of std::shared_ptr - #184

Merged
tmontaigu merged 1 commit into
tmontaigu:masterfrom
rjanvier:cc_sync
Oct 6, 2026
Merged

tmontaigu merged 1 commit into
tmontaigu:masterfrom
rjanvier:cc_sync

Conversation

@rjanvier

@rjanvier rjanvier commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

CloudCompare/CloudCompare#2426 removed CCShareable mechanism (in favor of std::shared_ptr) and this PR try to put CC-PythonRuntime in sync with this change. observer_ptr stay because we have to cure the root of evil first (inheritance on std::vector vs. composition) ;).

Sorry for the formatting noise on stubs.

@tmontaigu

Copy link
Copy Markdown
Owner

Ah nice to see that the CCShareable is gone and that the inheritance of std::vector is considered to be removed, these were some refactors I was tempted to do, but did not know If they would have been accepted

@tmontaigu
tmontaigu merged commit 75c0724 into tmontaigu:master Oct 6, 2026
9 checks passed
@rjanvier
rjanvier deleted the cc_sync branch October 6, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants