Hide clang pragmas behind an #ifdef

This commit is contained in:
Strahinja Val Markovic 2013-01-17 14:58:50 -08:00
parent 611a07aa56
commit 56f96b6c08

View File

@ -48,15 +48,19 @@ public:
}
#ifndef BOOST_NO_RVALUE_REFERENCES
# ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wc++98-compat"
# endif //#ifdef __clang__
void SetCompletionDatas( std::vector< CompletionData >&& new_completions )
{
completion_datas_ = new_completions;
}
# ifdef __clang__
# pragma clang diagnostic pop
# endif //#ifdef __clang__
#endif //#ifndef BOOST_NO_RVALUE_REFERENCES
template< typename T >