mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
Enable the -Wsign-compare warning to better support MSVC
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,7 +51,7 @@ int main()
|
||||
std::valarray<T> v2 = std::move(v);
|
||||
assert(v2.size() == N);
|
||||
assert(v.size() == 0);
|
||||
for (int i = 0; i < N; ++i)
|
||||
for (unsigned i = 0; i < N; ++i)
|
||||
{
|
||||
assert(v2[i].size() == a[i].size());
|
||||
for (std::size_t j = 0; j < v2[i].size(); ++j)
|
||||
|
||||
Reference in New Issue
Block a user