diff --git a/source/views/view_hexeditor.cpp b/source/views/view_hexeditor.cpp index 8862c92fb..6f0edaa2c 100644 --- a/source/views/view_hexeditor.cpp +++ b/source/views/view_hexeditor.cpp @@ -145,7 +145,7 @@ namespace hex { str += " };"; break; case Language::Cpp: - str += "const std::array data = { "; + str += "constexpr std::array data = { "; for (const auto &byte : buffer) str += hex::format("0x%02x, ", byte);