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

@ -25,17 +25,17 @@ using namespace oceanbase::common;
using namespace oceanbase::election;
class MockObElection : public ObElection {
public:
public:
MockObElection();
public:
public:
virtual int handle_packet(const int64_t packet_code, ObDataBuffer& in_buff, ObDataBuffer& out_buff);
int set_outage_for(ObElectionVoteMsgType type, int64_t start_time = 0, int64_t end_time = INT64_MAX);
int set_outage_all(int64_t start_time = 0, int64_t end_time = INT64_MAX);
private:
private:
Outage outage_map_[MAX_VOTE_MSG_TYPE];
};
} // namespace election