Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Haoyang Li <[email protected]>
  • Loading branch information
thirtiseven committed May 21, 2024
1 parent 0be1c23 commit 7e46ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/cpp/src/regex_rewrite_utils.cu
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ namespace spark_rapids_jni {
namespace {

struct literal_range_pattern_fn {
__device__ bool operator()
const(cudf::string_view d_string, cudf::string_view d_prefix, int range_len, int start, int end)
__device__ bool operator()(
cudf::string_view d_string, cudf::string_view d_prefix, int range_len, int start, int end) const
{
int const n = d_string.length(), m = d_prefix.length();
for (int i = 0; i <= n - m - range_len; i++) {
Expand Down

0 comments on commit 7e46ab2

Please sign in to comment.