mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-30 04:27:33 +02:00
Worked around an unused variable compiler warning displayed in concept_check.hpp when _ITERATOR_ is not defined.
[SVN r45671]
This commit is contained in:
@ -144,6 +144,8 @@ namespace boost
|
||||
void const_constraints(const TT& b) {
|
||||
#if !defined(_ITERATOR_) // back_insert_iterator broken for VC++ STL
|
||||
a = b; // const required for argument to assignment
|
||||
#else
|
||||
ignore_unused_variable_warning(b);
|
||||
#endif
|
||||
}
|
||||
private:
|
||||
|
Reference in New Issue
Block a user