sourcehook/FastDelegate.h
changeset 48 a52dba4f8ed9
parent 45 04770941f5a9
child 123 53e819ac032a
     1.1 --- a/sourcehook/FastDelegate.h	Sun May 01 09:55:51 2005 +0000
     1.2 +++ b/sourcehook/FastDelegate.h	Sun May 01 12:36:48 2005 +0000
     1.3 @@ -41,9 +41,12 @@
     1.4  
     1.5  #ifndef FASTDELEGATE_H
     1.6  #define FASTDELEGATE_H
     1.7 -#if _MSC_VER > 1000
     1.8 -#pragma once
     1.9 -#endif // _MSC_VER > 1000
    1.10 +
    1.11 +#ifdef _MSC_VER
    1.12 +# if _MSC_VER > 1000
    1.13 +#  pragma once
    1.14 +# endif // _MSC_VER > 1000
    1.15 +#endif // #ifdef _MSC_VER
    1.16  
    1.17  #include <memory.h> // to allow <,> comparisons
    1.18  
    1.19 @@ -614,7 +617,7 @@
    1.20  		return right.IsLess(*this);
    1.21  	}
    1.22  	DelegateMemento (const DelegateMemento &right)  : 
    1.23 -		m_pFunction(right.m_pFunction), m_pthis(right.m_pthis)
    1.24 +		m_pthis(right.m_pthis), m_pFunction(right.m_pFunction)   
    1.25  #if !defined(FASTDELEGATE_USESTATICFUNCTIONHACK)
    1.26  		, m_pStaticFunction (right.m_pStaticFunction)
    1.27  #endif