mute an MSVC warning about an assignment in a conditional expression

This commit is contained in:
Anonymissimus 2011-06-05 01:51:03 +00:00
parent 3bdbe82c78
commit 68bc378f68

View file

@ -367,6 +367,10 @@ build_event_chain<tsignal_notification_function>(
return std::vector<std::pair<twidget*, tevent> >();
}
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable: 4706)
#endif
/**
* Build the event chain for tsignal_message_function.
*
@ -410,6 +414,9 @@ build_event_chain<tsignal_message_function>(
return result;
}
#ifdef _MSC_VER
#pragma warning (pop)
#endif
/**
* Helper function for fire_event.