Skip to content

Commit b5cad7e

Browse files
committed
Fix link error
Signed-off-by: James Brodman <[email protected]>
1 parent c9814a6 commit b5cad7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sycl/include/CL/sycl/queue.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,10 @@ class queue {
311311
/// Returns whether the queue is in order or OoO
312312
///
313313
/// Equivalent to has_property<property::queue::in_order>()
314-
bool is_in_order() { return has_property<property::queue::in_order>(); }
314+
bool is_in_order() const {
315+
return impl->has_property<property::queue::in_order>();
316+
}
317+
315318
private:
316319
std::shared_ptr<detail::queue_impl> impl;
317320
template <class Obj>

0 commit comments

Comments
 (0)