Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
astrophysik committed Feb 11, 2025
1 parent 87e05b9 commit a2e81dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/array_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -722,13 +722,13 @@ T f$vk_dot_product(const array<T> &a, const array<T> &b) {
}

template<typename Result, typename U, typename Comparator>
Result array_functions_impl_::async_sort(__attribute__((unused)) array<U> & arr, __attribute__((unused)) Comparator comparator, __attribute__((unused)) bool renumber) noexcept {
Result array_functions_impl_::async_sort([[maybe_unused]] array<U> & arr, [[maybe_unused]] Comparator comparator, [[maybe_unused]] bool renumber) noexcept {
struct async_sort_stub_class {};
static_assert(std::is_same_v<Result, async_sort_stub_class>, "array async sort functions supported only in runtime light ");
}

template<typename Result, typename U, typename Comparator>
Result array_functions_impl_::async_ksort(__attribute__((unused)) array<U> & arr, __attribute__((unused)) Comparator comparator) noexcept {
Result array_functions_impl_::async_ksort([[maybe_unused]] array<U> & arr, [[maybe_unused]] Comparator comparator) noexcept {
struct async_ksort_stub_class {};
static_assert(std::is_same_v<Result, async_ksort_stub_class>, "array async sort functions supported only in runtime light ");
}
2 changes: 1 addition & 1 deletion tests/phpt/cl/156_recursive_assumptions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

/**
Expand Down

0 comments on commit a2e81dd

Please sign in to comment.