diff --git a/include/views/view_information.hpp b/include/views/view_information.hpp index 3210a131c..e4112b45a 100644 --- a/include/views/view_information.hpp +++ b/include/views/view_information.hpp @@ -26,7 +26,7 @@ namespace hex { float m_highestBlockEntropy = 0; std::vector m_blockEntropy; - std::array m_valueCounts = { 0 }; + std::array m_valueCounts = { 0 }; bool m_analyzing = false; std::pair m_analyzedRegion = { 0, 0 }; diff --git a/source/views/view_information.cpp b/source/views/view_information.cpp index 1bdf657e4..128f0b37e 100644 --- a/source/views/view_information.cpp +++ b/source/views/view_information.cpp @@ -191,7 +191,7 @@ namespace hex { ImPlot::SetNextPlotLimits(0, 256, 0, float(*std::max_element(this->m_valueCounts.begin(), this->m_valueCounts.end())) * 1.1F, ImGuiCond_Always); if (ImPlot::BeginPlot("##distribution", "Address", "Count", ImVec2(-1,0), ImPlotFlags_NoLegend | ImPlotFlags_NoMenus | ImPlotFlags_NoBoxSelect, ImPlotAxisFlags_Lock, ImPlotAxisFlags_Lock)) { static auto x = []{ - std::array result{ 0 }; + std::array result{ 0 }; std::iota(result.begin(), result.end(), 0); return result; }();