Skip to content

refactor: move ptr to private and add --arrayCount in destructor - #2

Open
Missing-Hex wants to merge 3 commits into
mohanchen:mainfrom
Missing-Hex:main
Open

Missing-Hex wants to merge 3 commits into
mohanchen:mainfrom
Missing-Hex:main

Conversation

@Missing-Hex

Copy link
Copy Markdown

Encapsulation Improvement

Move double * ptr from public to private section.

Destructor Fix

Add --arrayCount in destructor to correctly decrease array count.

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.

1 participant