diff --git a/src/hip_module.cpp b/src/hip_module.cpp index dee69e7ba0..da889a2e03 100644 --- a/src/hip_module.cpp +++ b/src/hip_module.cpp @@ -217,7 +217,7 @@ namespace using namespace ELFIO; using namespace std; - static constexpr pair r{0, 0}; + static const pair r{0, 0}; for (auto i = 0u; i != section.get_symbols_num(); ++i) { // TODO: this is boyscout code, caching the temporaries