mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -16,16 +16,11 @@ public:
|
||||
void Join()
|
||||
{
|
||||
for (auto & thread : m_threads)
|
||||
{
|
||||
if (thread.joinable())
|
||||
thread.join();
|
||||
}
|
||||
}
|
||||
|
||||
~ThreadsJoiner()
|
||||
{
|
||||
Join();
|
||||
}
|
||||
~ThreadsJoiner() { Join(); }
|
||||
|
||||
private:
|
||||
ThreadContainer & m_threads;
|
||||
@@ -38,7 +33,8 @@ class FunctionWrapper
|
||||
{
|
||||
public:
|
||||
template <typename F>
|
||||
FunctionWrapper(F && func) : m_impl(new ImplType<F>(std::move(func))) {}
|
||||
FunctionWrapper(F && func) : m_impl(new ImplType<F>(std::move(func)))
|
||||
{}
|
||||
|
||||
FunctionWrapper() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user