From acf5b12d02e06a0d8269e64a1401a4500a00a9cc Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Tue, 12 Nov 2019 10:16:57 +0300 Subject: [PATCH] Replace tabs with spaces --- include/boost/stacktrace/detail/collect_unwind.ipp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/stacktrace/detail/collect_unwind.ipp b/include/boost/stacktrace/detail/collect_unwind.ipp index f03aebf..a0c4007 100644 --- a/include/boost/stacktrace/detail/collect_unwind.ipp +++ b/include/boost/stacktrace/detail/collect_unwind.ipp @@ -78,12 +78,12 @@ std::size_t this_thread_frames::collect(native_frame_ptr_t* out_frames, std::siz // NOTE: There is no way to pass "skip" count to backtrace function so we need to perform left shift operation. // If number of elements in result backtrace is >= max_frames_count then "skip" elements are wasted. if (frames_count && skip) { - if (skip >= frames_count) { - frames_count = 0; - } else { - std::copy(out_frames + skip, out_frames + frames_count, out_frames); - frames_count -= skip; - } + if (skip >= frames_count) { + frames_count = 0; + } else { + std::copy(out_frames + skip, out_frames + frames_count, out_frames); + frames_count -= skip; + } } #else boost::stacktrace::detail::unwind_state state = { skip, out_frames, out_frames + max_frames_count };