diff options
author | ThiƩbaud Weksteen <tweek@google.com> | 2020-10-23 16:06:59 +0200 |
---|---|---|
committer | ThiƩbaud Weksteen <tweek@google.com> | 2020-10-23 17:47:37 +0200 |
commit | 4848ee07bb07ebb765e6fa0561f0d90ff86bbffb (patch) | |
tree | 04fb66b6c0dedf114f02e200d8c9114f1dfa1df9 /simpleperf/IOEventLoop.h | |
parent | cfdf96ecbd3f0814d801469504cf379140c01db3 (diff) | |
download | extras-4848ee07bb07ebb765e6fa0561f0d90ff86bbffb.tar.gz |
simpleperf: enable .clang-format
Use the 2-space configuration by default and disable any formatting for
the demo/ subdirectory. The following command was used to generate this
change:
$ find . \( -name \*.cpp -o -name \*.h \) -exec clang-format \
--style=file -i {} \;
Test: mm
Change-Id: I89ec1f18f6e352f40cfa1a770087f3b586b1d7cb
Diffstat (limited to 'simpleperf/IOEventLoop.h')
-rw-r--r-- | simpleperf/IOEventLoop.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/simpleperf/IOEventLoop.h b/simpleperf/IOEventLoop.h index ee9014ae..6f78d789 100644 --- a/simpleperf/IOEventLoop.h +++ b/simpleperf/IOEventLoop.h @@ -53,8 +53,7 @@ class IOEventLoop { bool AddSignalEvent(int sig, const std::function<bool()>& callback); // Register a vector of signal Events. - bool AddSignalEvents(std::vector<int> sigs, - const std::function<bool()>& callback); + bool AddSignalEvents(std::vector<int> sigs, const std::function<bool()>& callback); // Register a periodic Event, so [callback] is called periodically every // [duration]. |