~jamesh/go-unityscopes/go-1.6-compat

Viewing all changes in revision 84.

  • Committer: James Henstridge
  • Date: 2016-04-18 07:28:55 UTC
  • Revision ID: james@jamesh.id.au-20160418072855-1hefeq2igqdznbbm
Update Department.SetSubdepartments() to work with Go 1.6 pointer rules.  
We now temporarily break shared_ptr invariants, but ensure all of the 
underlying departments are referenced while this occurs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: