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/qqmlvme_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/qml/qqmlvme_p.h') diff --git a/src/qml/qml/qqmlvme_p.h b/src/qml/qml/qqmlvme_p.h index 4d49b79259..ab9d1fa792 100644 --- a/src/qml/qml/qqmlvme_p.h +++ b/src/qml/qml/qqmlvme_p.h @@ -132,13 +132,13 @@ private: QObject *run(QList *errors, const Interrupt & #ifdef QML_THREADED_VME_INTERPRETER - , void ***storeJumpTable = 0 + , void *const**storeJumpTable = 0 #endif ); v8::Persistent run(QQmlContextData *, QQmlScriptData *); #ifdef QML_THREADED_VME_INTERPRETER - static void **instructionJumpTable(); + static void *const*instructionJumpTable(); friend class QQmlCompiledData; #endif -- cgit v1.2.3