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::common;
class TestObj {
public:
public:
TestObj(int64_t val) : value_(val)
{}
TestObj() : value_(0)
@ -44,24 +44,24 @@ class TestObj {
};
class TestArrayArray : public ::testing::Test {
public:
public:
TestArrayArray();
virtual ~TestArrayArray();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(TestArrayArray);
protected:
protected:
// function members
void setup(int64_t N, ObIArray<TestObj>& arr);
void verify(int64_t N, const ObIArray<TestObj>& arr);
void verify(const ObIArray<TestObj>& arr1, const ObIArray<TestObj>& arr2);
void extend_to(const int64_t N, ObIArray<TestObj>& arr);
protected:
protected:
// data members
};