Index: src/IceConverter.cpp |
diff --git a/src/IceConverter.cpp b/src/IceConverter.cpp |
index a84ae2cf69d4e2004ed508f82305a148c82619e7..89fa2e3618242c8f7c1ee49212efac90c85b4548 100644 |
--- a/src/IceConverter.cpp |
+++ b/src/IceConverter.cpp |
@@ -668,8 +668,8 @@ private: |
// declaration. |
void addGlobalInitializer(Ice::VariableDeclaration &Global, |
const Constant *Initializer) { |
- const bool HasOffset = false; |
- const Ice::RelocOffsetT Offset = 0; |
+ constexpr bool HasOffset = false; |
+ constexpr Ice::RelocOffsetT Offset = 0; |
addGlobalInitializer(Global, Initializer, HasOffset, Offset); |
} |