diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-03-07 08:40:36 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-03-07 13:15:46 +0100 |
commit | a376c6a86813a6394031faab79610d92e43cd375 (patch) | |
tree | ea0b3b52e894665ac51980167b1f894b32b185f9 | |
parent | 1196824e7a82ec816e5aff2c42ec618333dab392 (diff) |
Fix build with clang
It suggests a template keyword here to make it clear that As() is template dependent
Change-Id: I0a228ad51b7a7a09e3774465f7118e3e6e247e93
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
-rw-r--r-- | src/v4/qv4v8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4v8.h b/src/v4/qv4v8.h index 2cd57e319e..09bb2455b7 100644 --- a/src/v4/qv4v8.h +++ b/src/v4/qv4v8.h @@ -310,7 +310,7 @@ struct Handle { template <typename Source> static Handle<T> Cast(Handle<Source> that) { - return that.As<T>(); + return that.template As<T>(); } template <typename Target> |