mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-12 03:16:07 +08:00
indentation and other formatting changes. also cleaned up
#includes.
This commit is contained in:
@@ -20,16 +20,17 @@ private:
|
||||
template <class T>
|
||||
inline
|
||||
TMethodJob<T>::TMethodJob(T* object, void (T::*method)(void*), void* arg) :
|
||||
m_object(object),
|
||||
m_method(method),
|
||||
m_arg(arg)
|
||||
m_object(object),
|
||||
m_method(method),
|
||||
m_arg(arg)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline
|
||||
void TMethodJob<T>::run()
|
||||
void
|
||||
TMethodJob<T>::run()
|
||||
{
|
||||
if (m_object != NULL) {
|
||||
(m_object->*m_method)(m_arg);
|
||||
|
||||
Reference in New Issue
Block a user