Skip to content

Conversation

nlutsenko
Copy link
Contributor

Use weak instead of assign.
Also improved constructor by not going through every property setter and assigning default values directly.

Copy link
Contributor

Choose a reason for hiding this comment

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

There should be a static analysis rule for clang that allows for a warning for setting an object type to be assign. Its 2015 people!

@nlutsenko nlutsenko added this to the 1.11.0 milestone Nov 23, 2015
nlutsenko added a commit that referenced this pull request Nov 23, 2015
…oder

Fix potential crash in PFOfflineObjectEncoder.
@nlutsenko nlutsenko merged commit 79e3111 into master Nov 23, 2015
@nlutsenko nlutsenko deleted the nlutsenko.offlineObjectEncoder branch November 23, 2015 20:34
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.

3 participants