Temporarily disabled VC warning C4702.

This commit is contained in:
Fraser Hutchison 2013-09-27 00:31:59 +01:00
parent 22ded1f2bb
commit c1062c97b5

View File

@ -155,6 +155,10 @@ namespace Clara {
void (*function)( C& );
};
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 4702)
#endif
template<typename C, typename T>
struct BoundBinaryFunction : IArgFunction<C>{
BoundBinaryFunction( void (*_function)( C&, T ) ) : function( _function ) {}
@ -172,6 +176,9 @@ namespace Clara {
virtual IArgFunction<C>* clone() const { return new BoundBinaryFunction( *this ); }
void (*function)( C&, T );
};
#ifdef _MSC_VER
# pragma warning(pop)
#endif
template<typename C, typename M>
BoundArgFunction<C> makeBoundField( M C::* _member ) {