~aacid/bamf-qt/constref

Viewing all changes in revision 396.

  • Committer: Albert Astals
  • Date: 2012-04-23 11:37:31 UTC
  • Revision ID: albert.astals@canonical.com-20120423113731-ulvq1tm5qsvhcqt5
Add const & to some parameters

Avoids a copy of each object. It is true that most of those objects are
implicitly shared so the win isn't huge but we still save some atomic/mutex/something locking

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: