Skip to content

Commit be189be

Browse files
committed
fix in unitests
1 parent e10e5a2 commit be189be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/unittests/helpers/MockDeviceImage.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ class MockPropertySet {
187187
/// \param Name is a property name. See ur.hpp for list of known names.
188188
/// \param Prop is a property value.
189189
void insert(const std::string &Name, MockProperty &&Props) {
190-
insert(Name, internal::LifetimeExtender{std::vector{std::move(Props)}});
190+
insert(Name, internal::LifetimeExtender{
191+
std::vector<MockProperty>{std::move(Props)}});
191192
}
192193

193194
/// Adds a new array of properties to the set.

0 commit comments

Comments
 (0)