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

@ -25,7 +25,7 @@ using namespace common;
/* Simple stopwatch */
class StopWatch {
public:
public:
StopWatch() : run_(false)
{}
void start()
@ -63,7 +63,7 @@ class StopWatch {
return (long int)(T.tv_sec - S_.tv_sec) * 1000000 + (long int)(T.tv_usec - S_.tv_usec);
}
private:
private:
bool run_;
timeval S_, E_;
};