~larryprice/ubuntu-app-launch/some-icon-paths-need-merged

« back to all changes in this revision

Viewing changes to tests/mir-mock.cpp

  • Committer: CI Train Bot
  • Author(s): Michael Terry, Ted Gould
  • Date: 2016-04-21 19:46:50 UTC
  • mfrom: (144.5.126 app-object)
  • Revision ID: ci-train-bot@canonical.com-20160421194650-mfk7d4hfcjhuyj9m
Add a C++ API for UAL
Approved by: Thomas Voß, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        std::thread * thread = new std::thread([session, numfds, cb, data]() {
44
44
                int fdlist[numfds];
45
45
 
46
 
                for (int i = 0; i < numfds; i++) 
 
46
                for (unsigned int i = 0; i < numfds; i++) 
47
47
                        fdlist[i] = trusted_fd;
48
48
 
49
49
                cb(session, numfds, fdlist, data);