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

Remove c++ sdk destructor causing linker errors #369

Merged
merged 2 commits into from
Oct 2, 2018

Conversation

nikibobi
Copy link
Contributor

@nikibobi nikibobi commented Oct 2, 2018

I removed the destructor declaration, because it had no body in the cpp file it caused linker errors. I removed the declaration from the header file so that the compiler will generate a default dtor. I also updated the cpp example to delete the sdk pointer in the end. That way it will act as a "unit-test" if the same thing happens in the future.

fixes #366

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 64bc397d-578b-4a71-90e5-01c7199b7b10

The following development artifacts have been built, and will exist for the next 30 days:

(experimental) To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/369/head:pr_369 && git checkout pr_369
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.5.0-b32fff9

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@markmandel markmandel merged commit 3704ab3 into googleforgames:master Oct 2, 2018
@markmandel markmandel added this to the 0.5.0 milestone Oct 8, 2018
@markmandel markmandel added kind/cleanup Refactoring code, fixing up documentation, etc area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++ SDK no destructor body
3 participants