Fix compile error for clang update. am: 38f5f676c7
Change-Id: I4a5036b178557482b2a9a98c6289c1ffd3150c9d
diff --git a/libteeui/include/teeui/utils.h b/libteeui/include/teeui/utils.h
index 7e8f69e..29b0e51 100644
--- a/libteeui/include/teeui/utils.h
+++ b/libteeui/include/teeui/utils.h
@@ -464,9 +464,8 @@
return std::get<typename metaParam2Param<MetaParam>::type>(params_);
}
- template <typename MetaParam>
- void setParam(
- std::enable_if_t<isCoordinateParam<MetaParam>::value, const Coordinate<px, Numeric>>& v) {
+ template <typename MetaParam, typename = std::enable_if_t<isCoordinateParam<MetaParam>::value>>
+ void setParam(const Coordinate<px, Numeric>& v) {
getParam<MetaParam>().param_ = v;
}