Skip to content

Remove unnecessary copy constructor declaration from Box#187

Merged
azeey merged 2 commits intogazebosim:ign-math6from
azeey:box_copy_ctor
Jan 26, 2021
Merged

Remove unnecessary copy constructor declaration from Box#187
azeey merged 2 commits intogazebosim:ign-math6from
azeey:box_copy_ctor

Conversation

@azeey
Copy link
Copy Markdown
Contributor

@azeey azeey commented Jan 21, 2021

The copy constructor Box::Box(const Box<Precision> &) was declared, but was never defined causing a link error if anyone used it. I believe the compiler generated copy constructor is sufficient, so I have removed the declaration.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey self-assigned this Jan 21, 2021
@azeey azeey requested a review from scpeters as a code owner January 21, 2021 19:41
@github-actions github-actions bot added 🏢 edifice Ignition Edifice 🏰 citadel Ignition Citadel 📜 blueprint Ignition Blueprint 🔮 dome Ignition Dome labels Jan 21, 2021
@azeey azeey merged commit e33379d into gazebosim:ign-math6 Jan 26, 2021
@azeey azeey deleted the box_copy_ctor branch January 26, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📜 blueprint Ignition Blueprint 🏰 citadel Ignition Citadel 🔮 dome Ignition Dome 🏢 edifice Ignition Edifice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants