change: change code style to Linux style except indent.
This commit is contained in:
@@ -2,29 +2,30 @@
|
||||
|
||||
#include <QMutex>
|
||||
|
||||
namespace olive {
|
||||
namespace olive
|
||||
{
|
||||
|
||||
uint64_t job_time_index = 0;
|
||||
QMutex job_time_mutex;
|
||||
|
||||
JobTime::JobTime()
|
||||
{
|
||||
Acquire();
|
||||
Acquire();
|
||||
}
|
||||
|
||||
void JobTime::Acquire()
|
||||
{
|
||||
job_time_mutex.lock();
|
||||
job_time_mutex.lock();
|
||||
|
||||
value_ = job_time_index;
|
||||
job_time_index++;
|
||||
value_ = job_time_index;
|
||||
job_time_index++;
|
||||
|
||||
job_time_mutex.unlock();
|
||||
job_time_mutex.unlock();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug debug, const olive::JobTime& r)
|
||||
QDebug operator<<(QDebug debug, const olive::JobTime &r)
|
||||
{
|
||||
return debug.space() << r.value();
|
||||
return debug.space() << r.value();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user