mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user