Skip to content

Commit b49d566

Browse files
committed
Cleanup bslma_testallocatorexception
1 parent 68d32a2 commit b49d566

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

groups/bsl/bslma/bslma_testallocatorexception.h

+3-15
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ BSLS_IDENT("$Id: $")
133133
//
134134
// // ...
135135
//
136+
// /// Return `true` if the specified initial `numElement` in the specified
137+
// /// `array1` and `array2` have the same values, and `false` otherwise.
136138
// static
137139
// bool areEqual(const short *array1, const short *array2, int numElement)
138-
// // Return 'true' if the specified initial 'numElement' in the specified
139-
// // 'array1' and 'array2' have the same values, and 'false' otherwise.
140140
// {
141141
// for (int i = 0; i < numElement; ++i) {
142142
// if (array1[i] != array2[i]) return false;
@@ -236,8 +236,7 @@ class TestAllocatorException : public std::bad_alloc {
236236
/// that indicates an allocation request size.
237237
explicit TestAllocatorException(size_type numBytes);
238238

239-
/// Destroy this object. Note that this method's definition is compiler
240-
/// generated.
239+
/// Destroy this object.
241240
//! ~TestAllocatorException();
242241

243242
// ACCESSORS
@@ -284,18 +283,7 @@ TestAllocatorException::what() const BSLS_EXCEPTION_VIRTUAL_NOTHROW
284283
}
285284

286285
} // close package namespace
287-
288-
#ifndef BDE_OPENSOURCE_PUBLICATION // BACKWARD_COMPATIBILITY
289-
// ============================================================================
290-
// BACKWARD COMPATIBILITY
291-
// ============================================================================
292-
293-
/// This alias is defined for backward compatibility.
294-
typedef bslma::TestAllocatorException bslma_TestAllocatorException;
295-
#endif // BDE_OPENSOURCE_PUBLICATION -- BACKWARD_COMPATIBILITY
296-
297286
} // close enterprise namespace
298-
299287
#endif
300288

301289
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)