Hide clang pragmas behind an #ifdef
This commit is contained in:
parent
611a07aa56
commit
56f96b6c08
@ -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 >
|
||||
|
Loading…
Reference in New Issue
Block a user