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

@ -24,7 +24,7 @@ class ObPartitionService;
namespace clog {
class ObILogEngine;
class ObILogFlushCb {
public:
public:
ObILogFlushCb(){};
virtual ~ObILogFlushCb()
{}
@ -32,11 +32,11 @@ class ObILogFlushCb {
};
class ObLogFlushTask : public ObDiskBufferTask {
public:
public:
ObLogFlushTask();
virtual ~ObLogFlushTask();
public:
public:
int init(const ObLogType log_type, const uint64_t log_id, const common::ObProposalID proposal_id,
const common::ObPartitionKey& partition_key, storage::ObPartitionService* partition_service,
const common::ObAddr& leader, const int64_t cluster_id_, ObILogEngine* log_engine, const int64_t submit_timestamp,
@ -54,7 +54,7 @@ class ObLogFlushTask : public ObDiskBufferTask {
}
TO_STRING_KV(N_LOG_TYPE, log_type_, N_LOG_ID, log_id_, "submit_timestamp", submit_timestamp_, N_PARTITION_KEY,
partition_key_, "leader", leader_, "cluster_id", cluster_id_)
private:
private:
ObLogType log_type_;
uint64_t log_id_;
common::ObPartitionKey partition_key_;
@ -67,7 +67,7 @@ class ObLogFlushTask : public ObDiskBufferTask {
int64_t pls_epoch_;
bool is_inited_;
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObLogFlushTask);
};
} // namespace clog