mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +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* slow = static_cast<const T*>(this);
|
||||||
const T* fast = m_next;
|
const T* fast = m_next;
|
||||||
bool looped = false;
|
bool looped = false;
|
||||||
// m_next of each node should point back to m_prev of the following 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.
|
// and m_prev of each node should point forward to m_next of the preceding node.
|
||||||
while (slow != fast) {
|
while (slow != fast) {
|
||||||
if (fast->m_prev->m_next != fast || fast->m_next->m_prev != fast) {
|
if (fast->m_prev->m_next != fast || fast->m_next->m_prev != fast) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue