~raof/mir/deferred-with-surface-do

Viewing all changes in revision 3887.

  • Committer: Christopher James Halse Rogers
  • Date: 2016-12-15 05:42:36 UTC
  • Revision ID: christopher.halse.rogers@canonical.com-20161215054236-bg3sl59er3a5p5el
Clarify ownership of MirSurface in the client library.

The ConnectionSurfaceMap owns the all MirSurface-s associated with a connection.
Make this more explicit by having insert() take ownership of a unique_ptr<MirSurface>
rather than a shared_ptr<MirSurface>.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: