Merge pull request #4511 from lioncash/build2

General: Tidy up clang-format warnings part 2
This commit is contained in:
LC 2020-08-13 15:13:21 -04:00 committed by GitHub
commit ff0b14ee62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 129 additions and 119 deletions

View file

@ -161,7 +161,7 @@ public:
}
}
/// This constructor and assignment operator might be considered ambiguous:
// This constructor and assignment operator might be considered ambiguous:
// Would they initialize the storage or just the bitfield?
// Hence, delete them. Use the Assign method to set bitfield values!
BitField(T val) = delete;

View file

@ -34,8 +34,7 @@ void DetachedTasks::AddTask(std::function<void()> task) {
std::unique_lock lock{instance->mutex};
--instance->count;
std::notify_all_at_thread_exit(instance->cv, std::move(lock));
})
.detach();
}).detach();
}
} // namespace Common

View file

@ -54,6 +54,6 @@ struct Rectangle {
};
template <typename T>
Rectangle(T, T, T, T)->Rectangle<T>;
Rectangle(T, T, T, T) -> Rectangle<T>;
} // namespace Common