aboutsummaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-18 18:01:46 -0700
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-18 21:14:25 -0700
commit396a8d91a4423d9c793eeff0798d544613647511 (patch)
treee0203961233db1ffcbbca2e15154d71d142c5822 /src/common/thread.h
parent784b96d87f5b9ef4a238679d694b2d5a603725ca (diff)
Manually tweak source formatting and then re-run clang-format
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index b189dc7645..499c151c2e 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -39,8 +39,7 @@ void SetCurrentThreadAffinity(u32 mask);
class Event {
public:
- Event() : is_set(false) {
- }
+ Event() : is_set(false) {}
void Set() {
std::lock_guard<std::mutex> lk(mutex);
@@ -71,8 +70,7 @@ private:
class Barrier {
public:
- explicit Barrier(size_t count_) : count(count_), waiting(0), generation(0) {
- }
+ explicit Barrier(size_t count_) : count(count_), waiting(0), generation(0) {}
/// Blocks until all "count" threads have called Sync()
void Sync() {