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

@ -29,13 +29,13 @@ using namespace storage;
namespace unittest {
class TestStorageFile : public TestDataFilePrepare {
public:
public:
TestStorageFile();
virtual ~TestStorageFile();
virtual void SetUp();
virtual void TearDown();
private:
private:
ObStorageFile* pg_file_;
};
@ -62,14 +62,14 @@ void TestStorageFile::TearDown()
}
class TestStorageFileRefCnt : public share::ObThreadPool {
public:
public:
enum OptType { INC, DEC, MAX };
TestStorageFileRefCnt();
virtual ~TestStorageFileRefCnt() = default;
int init(const int64_t thread_cnt, ObStorageFile* pg_file, OptType type);
virtual void run1();
private:
private:
int do_work(const MacroBlockId& macro_id);
ObStorageFile* pg_file_;
OptType type_;