commit | 2ed9e07e2aa34d635b3f453fe9d13641db4ef0b3 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sun Aug 13 16:45:48 2017 +0000 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Aug 13 19:05:49 2017 -0400 |
tree | bc2436df4af1a0b01af8f2b9a97916cf266cc26f | |
parent | 5c9ee28a1556670aa81124dbec5e52fb384a79a1 [diff] [blame] |
face: pass processEvents duration by value refs #3284 Change-Id: I146417f49c73fe93c6b38bb0dcd1b45bb949511f
diff --git a/src/face.cpp b/src/face.cpp index 2f80754..1add5db 100644 --- a/src/face.cpp +++ b/src/face.cpp
@@ -346,7 +346,7 @@ } void -Face::doProcessEvents(const time::milliseconds& timeout, bool keepThread) +Face::doProcessEvents(time::milliseconds timeout, bool keepThread) { if (m_ioService.stopped()) { m_ioService.reset(); // ensure that run()/poll() will do some work