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

@ -33,7 +33,7 @@ static const int64_t MAX_SERVER_NUM = 7;
static const int64_t REPLICA_NUM = 3;
class MockElectionCluster {
public:
public:
MockElectionCluster() : is_inited_(false), svr_cnt_(0)
{}
virtual ~MockElectionCluster()
@ -61,14 +61,14 @@ class MockElectionCluster {
int start_partition(
const ObPartitionKey& pkey, const ObAddr& leader, const int64_t lease_start, int64_t& leader_epoch);
private:
private:
int init_server_(const char* ip, const int32_t rpc_port);
int start_server_(const char* ip, const int32_t rpc_port);
private:
private:
DISALLOW_COPY_AND_ASSIGN(MockElectionCluster);
public:
public:
bool is_inited_;
int64_t svr_cnt_;
obrpc::ObBatchRpc batch_rpc_;