aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-03-06 13:48:10 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-03-06 12:53:16 +0000
commitfc7d3fcb17db5e87fcca7b46a668b1c5a0f2ea06 (patch)
tree78583238dd8f38fdca6ea1594bbe24c45757dca0 /src
parentaf9e21cd91abcff9e084161cb7ed15fbedc8f931 (diff)
QV4::Primitive: Help clang disambiguate symbols
Change-Id: Ie20e6081b80e8f177991ac8aafda054c11b1620c Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/qml/jsruntime/qv4value_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h
index 5159ad8d68..2b2d275b58 100644
--- a/src/qml/jsruntime/qv4value_p.h
+++ b/src/qml/jsruntime/qv4value_p.h
@@ -417,6 +417,9 @@ struct Q_QML_PRIVATE_EXPORT Primitive : public Value
static inline Primitive fromDouble(double d);
static inline Primitive fromUInt32(uint i);
+ using Value::toInt32;
+ using Value::toUInt32;
+
static double toInteger(double fromNumber);
static int toInt32(double value);
static unsigned int toUInt32(double value);