[Lldb-commits] [lldb] r221541 - This was meant to be count, not m_count
Enrico Granata
egranata at apple.com
Fri Nov 7 12:37:18 PST 2014
Author: enrico
Date: Fri Nov 7 14:37:17 2014
New Revision: 221541
URL: http://llvm.org/viewvc/llvm-project?rev=221541&view=rev
Log:
This was meant to be count, not m_count
Modified:
lldb/trunk/source/DataFormatters/LibCxxList.cpp
Modified: lldb/trunk/source/DataFormatters/LibCxxList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/LibCxxList.cpp?rev=221541&r1=221540&r2=221541&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/LibCxxList.cpp (original)
+++ lldb/trunk/source/DataFormatters/LibCxxList.cpp Fri Nov 7 14:37:17 2014
@@ -211,7 +211,7 @@ lldb_private::formatters::LibcxxStdListS
// don't bother checking for a loop if we won't actually need to jump nodes
if (m_count < 2)
return false;
- auto steps_left = std::min(m_count,m_count);
+ auto steps_left = std::min(count,m_count);
auto steps_left_save = steps_left;
ListEntry slow(m_head);
ListEntry fast(m_head);
More information about the lldb-commits
mailing list