Skip to content

Commit

Permalink
update clang-format command
Browse files Browse the repository at this point in the history
  • Loading branch information
yedongfu committed Sep 2, 2018
1 parent 530ee48 commit 53a49a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis/check-git-clang-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ else
base_commit="HEAD^"
fi

output="$(sudo python .travis/git-clang-format --binary clang-format-3.8 --commit $base_commit --diff)"
output="$(sudo python .travis/git-clang-format --binary clang-format --commit $base_commit --diff)"

if [ "$output" == "no modified files to format" ] || [ "$output" == "clang-format did not modify any files" ] ; then
echo "clang-format passed."
Expand Down
2 changes: 1 addition & 1 deletion handy/poller.cc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "poller.h"
#include <fcntl.h>
#include "conn.h"
#include "event_base.h"
#include "logging.h"
#include "util.h"
#include "poller.h"

#ifdef OS_LINUX
#include <sys/epoll.h>
Expand Down

0 comments on commit 53a49a5

Please sign in to comment.