Replace the ASSERT and ASSERT2 macros by assert

This commit is contained in:
Andreas Lauser
2013-09-03 13:55:36 +02:00
parent db1299cf0c
commit a26483b51d
6 changed files with 56 additions and 56 deletions

View File

@@ -473,7 +473,7 @@ public:
}
int operator[](const int i) const
{
ASSERT(i >= 0 && i < num_);
assert(i >= 0 && i < num_);
return start_ + i*stride_;
}
int size() const
@@ -503,17 +503,17 @@ public:
}
bool operator<(const SpanIterator& rhs) const
{
ASSERT(span_ == rhs.span_);
assert(span_ == rhs.span_);
return index_ < rhs.index_;
}
bool operator==(const SpanIterator& rhs) const
{
ASSERT(span_ == rhs.span_);
assert(span_ == rhs.span_);
return index_ == rhs.index_;
}
bool operator!=(const SpanIterator& rhs) const
{
ASSERT(span_ == rhs.span_);
assert(span_ == rhs.span_);
return index_ != rhs.index_;
}
int operator*()