👌 addressed review comments

parent 33379684
......@@ -39,7 +39,7 @@ class diagnostics_t
if (current->m_parent->m_value.array->operator[](i) == *current)
{
tokens.emplace_back(std::to_string(i));
continue;
break;
}
}
break;
......@@ -52,7 +52,7 @@ class diagnostics_t
if (element.second == *current)
{
tokens.emplace_back(element.first.c_str());
continue;
break;
}
}
break;
......@@ -79,7 +79,7 @@ class diagnostics_t
}
private:
const BasicJsonType* m_j = static_cast<const BasicJsonType*>(nullptr);
const BasicJsonType* m_j = nullptr;
};
} // namespace detail
......
......@@ -2537,7 +2537,7 @@ class diagnostics_t
if (current->m_parent->m_value.array->operator[](i) == *current)
{
tokens.emplace_back(std::to_string(i));
continue;
break;
}
}
break;
......@@ -2550,7 +2550,7 @@ class diagnostics_t
if (element.second == *current)
{
tokens.emplace_back(element.first.c_str());
continue;
break;
}
}
break;
......@@ -2577,7 +2577,7 @@ class diagnostics_t
}
private:
const BasicJsonType* m_j = static_cast<const BasicJsonType*>(nullptr);
const BasicJsonType* m_j = nullptr;
};
} // namespace detail
......
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