Commit a831c787 authored by Niels's avatar Niels

try to replace std::ptrdiff_t with auto (for #204)

parent 4cc4b26d
...@@ -7970,9 +7970,9 @@ basic_json_parser_63: ...@@ -7970,9 +7970,9 @@ basic_json_parser_63:
return; return;
} }
const std::ptrdiff_t offset_start = m_start - m_content; const auto offset_start = m_start - m_content;
const std::ptrdiff_t offset_marker = m_marker - m_start; const auto offset_marker = m_marker - m_start;
const std::ptrdiff_t offset_cursor = m_cursor - m_start; const auto offset_cursor = m_cursor - m_start;
m_buffer.erase(0, static_cast<size_t>(offset_start)); m_buffer.erase(0, static_cast<size_t>(offset_start));
std::string line; std::string line;
......
...@@ -7280,9 +7280,9 @@ class basic_json ...@@ -7280,9 +7280,9 @@ class basic_json
return; return;
} }
const std::ptrdiff_t offset_start = m_start - m_content; const auto offset_start = m_start - m_content;
const std::ptrdiff_t offset_marker = m_marker - m_start; const auto offset_marker = m_marker - m_start;
const std::ptrdiff_t offset_cursor = m_cursor - m_start; const auto offset_cursor = m_cursor - m_start;
m_buffer.erase(0, static_cast<size_t>(offset_start)); m_buffer.erase(0, static_cast<size_t>(offset_start));
std::string line; std::string line;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment