Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
// const_reference operator[](size_type pos) const;
|
||||
// reference operator[](size_type pos);
|
||||
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ int main()
|
||||
assert(s2[0] == '\0');
|
||||
}
|
||||
#endif
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
{
|
||||
std::string s;
|
||||
char c = s[0];
|
||||
|
Reference in New Issue
Block a user