Skip to content

Remove c++ sdk destructor causing linker errors - #369

Merged
markmandel merged 2 commits into
agones-dev:masterfrom
nikibobi:fix-cpp-dtor
Oct 2, 2018
Merged

markmandel merged 2 commits into
agones-dev:masterfrom
nikibobi:fix-cpp-dtor

Conversation

@nikibobi

@nikibobi nikibobi commented Oct 2, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

@markmandel markmandel left a comment

Copy link
Copy Markdown
Member

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 agones-dev: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