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

@ -18,7 +18,7 @@ using namespace oceanbase;
using namespace oceanbase::common;
struct Key {
public:
public:
Key() : key_(0)
{}
explicit Key(int64_t k) : key_(k)
@ -36,7 +36,7 @@ struct Key {
};
struct MacroKey {
public:
public:
static const uint64_t HASH_MAGIC_NUM = 2654435761;
MacroKey() : key_(0)
{}
@ -55,7 +55,7 @@ struct MacroKey {
};
struct BadKey {
public:
public:
BadKey() : key_(0)
{}
explicit BadKey(int64_t k) : key_(k)
@ -73,7 +73,7 @@ struct BadKey {
};
struct ModKey {
public:
public:
ModKey() : key_(0)
{}
explicit ModKey(int64_t k) : key_(k)
@ -91,7 +91,7 @@ struct ModKey {
};
struct Value {
public:
public:
Value() : value_(0)
{}
explicit Value(int64_t v) : value_(v)
@ -109,7 +109,7 @@ struct Value {
};
class TestCuckooHashMap : public ::testing::Test {
public:
public:
TestCuckooHashMap();
virtual ~TestCuckooHashMap();
};