mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 00:26:38 +00:00
format
This commit is contained in:
parent
245ce0b3fa
commit
47e957d61b
1 changed files with 3 additions and 3 deletions
|
@ -160,8 +160,8 @@ public:
|
|||
const T* slow = static_cast<const T*>(this);
|
||||
const T* fast = m_next;
|
||||
bool looped = false;
|
||||
// m_next of each node should point back to m_prev of the following node,
|
||||
// and m_prev of each node should point forward to m_next of the preceding node.
|
||||
// m_next of each node should point back to m_prev of the following node,
|
||||
// and m_prev of each node should point forward to m_next of the preceding node.
|
||||
while (slow != fast) {
|
||||
if (fast->m_prev->m_next != fast || fast->m_next->m_prev != fast) {
|
||||
return false;
|
||||
|
@ -255,4 +255,4 @@ template < typename T
|
|||
dll_iterator<T> end(T const& list)
|
||||
{
|
||||
return dll_iterator<T>::mk_end(&list);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue