aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcompileddata.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-26 17:15:00 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-13 19:52:51 +0200
commit50813c8cc36716a579b2e09d4dae71d2f23402c8 (patch)
treedb8591d906d50a9a5deed156e1b273d754f515c6 /src/qml/qml/qqmlcompileddata.cpp
parent400ff21dbd0edeec2b1be202961e146f76b9fbf8 (diff)
Make the instruction table be const
It's never going to be modified, so it should be const. Change-Id: Ibc3bac0583f72ccbf7caa69aeab029bae03d3cdd Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlcompileddata.cpp')
-rw-r--r--src/qml/qml/qqmlcompileddata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcompileddata.cpp b/src/qml/qml/qqmlcompileddata.cpp
index 49f00944d5..c2ca079779 100644
--- a/src/qml/qml/qqmlcompileddata.cpp
+++ b/src/qml/qml/qqmlcompileddata.cpp
@@ -215,7 +215,7 @@ QQmlInstruction *QQmlCompiledData::instruction(int index)
QQmlInstruction::Type QQmlCompiledData::instructionType(const QQmlInstruction *instr)
{
#ifdef QML_THREADED_VME_INTERPRETER
- void **jumpTable = QQmlVME::instructionJumpTable();
+ void *const *jumpTable = QQmlVME::instructionJumpTable();
void *code = instr->common.code;
# define QML_CHECK_INSTR_CODE(I, FMT) \