[cfe-commits] [libcxx] r131344 - /libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
Howard Hinnant
hhinnant at apple.com
Sat May 14 08:38:08 PDT 2011
Author: hhinnant
Date: Sat May 14 10:38:08 2011
New Revision: 131344
URL: http://llvm.org/viewvc/llvm-project?rev=131344&view=rev
Log:
Warning suppression in test.
Modified:
libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
Modified: libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp?rev=131344&r1=131343&r2=131344&view=diff
==============================================================================
--- libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp (original)
+++ libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp Sat May 14 10:38:08 2011
@@ -39,8 +39,6 @@
explicit rand1(result_type sd = Min) : x_(sd)
{
- if (x_ < Min)
- x_ = Min;
if (x_ > Max)
x_ = Max;
}
More information about the cfe-commits
mailing list