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 @@ namespace share {
template <int64_t BUFSIZE>
class ObEncryptKey {
public:
public:
ObEncryptKey() : str_(BUFSIZE, 0, buf_)
{}
~ObEncryptKey()
@ -63,7 +63,7 @@ class ObEncryptKey {
TO_STRING_KV(K_(str));
OB_UNIS_VERSION(1);
private:
private:
char buf_[BUFSIZE];
ObString str_;
};
@ -166,7 +166,7 @@ enum CLogEncryptStatBitIndex {
// Use scenarios to ensure no concurrency issues
struct ObCLogEncryptStatMap {
public:
public:
ObCLogEncryptStatMap() : val_(0)
{}
~ObCLogEncryptStatMap()
@ -177,7 +177,7 @@ struct ObCLogEncryptStatMap {
void set_map(const int64_t idx);
bool test_map(const int64_t idx) const;
public:
public:
uint16_t val_;
};