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 @@ using namespace common;
using namespace hash;
class HashKey {
public:
public:
HashKey() : v_(0)
{}
HashKey(uint64_t v) : v_(v)
@ -49,7 +49,7 @@ class HashKey {
};
class HashValue : public LinkHashValue<HashKey> {
public:
public:
HashValue() : v_(0)
{}
HashValue(uint64_t v) : v_(v)
@ -69,7 +69,7 @@ ObMemAttr attr(1001, ObNewModIds::OB_MEMSTORE);
class TestAllocHandle {
typedef LinkHashNode<HashKey> Node;
public:
public:
HashValue* alloc_value()
{
ATOMIC_INC(&value_alloc);
@ -100,7 +100,7 @@ class TestAllocHandle {
};
class AtomicGetFunctor {
public:
public:
explicit AtomicGetFunctor() : ret_val_(0)
{}
void operator()(const HashKey& key, HashValue* value)