reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -26,7 +26,7 @@ using namespace election;
using namespace common;
class TestObElectionTimer : public ::testing::Test {
public:
public:
TestObElectionTimer()
{}
virtual ~TestObElectionTimer()
@ -35,14 +35,14 @@ class TestObElectionTimer : public ::testing::Test {
virtual void SetUp();
virtual void TearDown();
private:
private:
static const int64_t TIMER_THREAD_COUNT = 6;
int init();
int start();
int stop();
int wait();
protected:
protected:
election::ObElection e_;
election::ObElectionTimer timer_;
election::ObElectionRpc rpc_;