mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
94661f697b
commit
edc0162163
66 changed files with 998 additions and 999 deletions
|
@ -58,8 +58,8 @@ namespace util
|
|||
{
|
||||
CleanUp (m_Head);
|
||||
m_Head = nullptr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
template<typename... TArgs>
|
||||
T * Acquire (TArgs&&... args)
|
||||
{
|
||||
|
@ -104,8 +104,8 @@ namespace util
|
|||
head = static_cast<T*>(*(void * *)head); // next
|
||||
::operator delete ((void *)tmp);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
T * m_Head;
|
||||
|
@ -152,11 +152,11 @@ namespace util
|
|||
{
|
||||
std::lock_guard<std::mutex> l(m_Mutex);
|
||||
head = this->m_Head;
|
||||
this->m_Head = nullptr;
|
||||
this->m_Head = nullptr;
|
||||
}
|
||||
if (head) this->CleanUp (head);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
std::mutex m_Mutex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue