From 50813c8cc36716a579b2e09d4dae71d2f23402c8 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 26 Aug 2012 17:15:00 +0200 Subject: 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 --- src/qml/qml/qqmlcompileddata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlcompileddata.cpp') 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) \ -- cgit v1.2.3