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

@ -17,21 +17,21 @@ using oceanbase::common::LightyQueue;
using oceanbase::lib::ThreadPool;
class Productor : public ThreadPool {
public:
public:
Productor(LightyQueue& q, int th_cnt) : q_(q)
{
set_thread_count(th_cnt);
}
private:
private:
void run1() override;
private:
private:
LightyQueue& q_;
}; // end of class Productor
class Consumer : public ThreadPool {
public:
public:
Consumer(LightyQueue& q, int th_cnt) : q_(q), cnt_(0)
{
set_thread_count(th_cnt);
@ -42,10 +42,10 @@ class Consumer : public ThreadPool {
return cnt_;
}
private:
private:
void run1() override;
private:
private:
LightyQueue& q_;
uint64_t cnt_;
}; // end of class Consumer