g++ 4.3 warns about lack of explicit braces to make it happy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61975
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
T As(T* = NULL) const
{
if ( !wxAnyValueTypeImpl<T>::IsSameClass(m_type) )
T As(T* = NULL) const
{
if ( !wxAnyValueTypeImpl<T>::IsSameClass(m_type) )
wxFAIL_MSG("Incorrect or non-convertible data type");
wxFAIL_MSG("Incorrect or non-convertible data type");
return static_cast<T>(wxAnyValueTypeImpl<T>::GetValue(m_buffer));
}
return static_cast<T>(wxAnyValueTypeImpl<T>::GetValue(m_buffer));
}