diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-09 13:29:18 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-09 12:32:28 +0000 |
| commit | f7463a2ae6dd8e9267f99cc88af495281405905a (patch) | |
| tree | f10c068d75b37e51b483436ab8944465da017037 /src/qml/jsruntime/qv4regexpobject.cpp | |
| parent | 4b982c744f538a24e21a2af146c45f93d27dd1cb (diff) | |
De-inline static methods of struct Runtime.
They are accessed via function pointer, so, inlining
them does not have any effect.
Move the implementation into qv4runtime.cpp, fixing MinGW-errors:
qtdeclarative/src/qml/jsruntime/qv4runtime_p.h:144:22: error: 'static QV4::ReturnedValue QV4::Runtime::method_uPlus(const QV4::Value&)' redeclared without dllimport attribute after being referenced with dll linkage [-Werror]
inline ReturnedValue Runtime::method_uPlus(const Value &value)
^
qtdeclarative/src/qml/jsruntime/qv4runtime_p.h:157:22: error: 'static QV4::ReturnedValue QV4::Runtime::method_uMinus(const QV4::Value&)' redeclared without dllimport attribute after being referenced with dll linkage [-Werror]
inline ReturnedValue Runtime::method_uMinus(const Value &value)
^
qtdeclarative/src/qml/jsruntime/qv4runtime_p.h:170:22: error: 'static QV4::ReturnedValue QV4::Runtime::method_complement(const QV4::Value&)' redeclared without dllimport attribute after being referenced with dll linkage [-Werror]
inline ReturnedValue Runtime::method_complement(const Value &value)
Task-number: QTBUG-53222
Change-Id: I5a9bd162e0b1f52c66cd6a8efbf407fcd46d7fc7
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
0 files changed, 0 insertions, 0 deletions
