forked from boostorg/container
Support Clang's -Wconversion -Wfloat-conversion -Wsign-conversion with -Werror
This commit is contained in:
1 parent
3e89ec6891
commit
7f35ef420e
11 files changed
+145
-145
No files matched your search
@@ -177,7 +177,7 @@ struct insert_near_end
|
||||
{
|
||||
typedef typename C::iterator it_t;
|
||||
it_t it (c.end());
|
||||
it -= static_cast<typename C::size_type>(c.size() >= 2)*2;
|
||||
it -= static_cast<typename C::difference_type>(c.size() >= 2)*2;
|
||||
c.insert(it, MyInt(i));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user