diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 14:47:44 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 14:47:44 +0100 |
commit | cd16b241c028b0c2ecc4578aa84d31bea5128dc9 (patch) | |
tree | c6aab9cd265361f5903dab0ed63e96251dbd14a9 | |
parent | 14350a335485096c0678e2ca98795fe1a9a19a9f (diff) | |
download | ATCD-cd16b241c028b0c2ecc4578aa84d31bea5128dc9.tar.gz |
Comment upate
* ACE/tests/New_Fail_Test.cpp:
-rw-r--r-- | ACE/tests/New_Fail_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/New_Fail_Test.cpp b/ACE/tests/New_Fail_Test.cpp index 064c4262655..a17e77dd012 100644 --- a/ACE/tests/New_Fail_Test.cpp +++ b/ACE/tests/New_Fail_Test.cpp @@ -31,8 +31,8 @@ // wrong. The allocated memory is always freed to avoid masking a leak // somewhere else in the test. -// Most we can do on Windows, else we get a C2148 compile error -static const size_t BIG_BLOCK = ACE_Numeric_Limits<size_t>::max ()/4; +// Most we can do, by a quarter +static const size_t BIG_BLOCK = ACE_Numeric_Limits<size_t>::max () / 4; // Shouldn't take many "as much as possible" tries to get a failure. static constexpr int MAX_ALLOCS_IN_TEST = 20; |