Skip to content

Commit 077593a

Browse files
authored
Merge pull request numpy#26324 from Romain-Geissler-1A/main
BUG: Fix invalid constructor in string_fastsearch.h with C++ >= 20.
2 parents 8a6ef43 + 12a4801 commit 077593a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/_core/src/umath/string_fastsearch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ struct CheckedIndexer {
6060
char_type *buffer;
6161
size_t length;
6262

63-
CheckedIndexer<char_type>()
63+
CheckedIndexer()
6464
{
6565
buffer = NULL;
6666
length = 0;
6767
}
6868

69-
CheckedIndexer<char_type>(char_type *buf, size_t len)
69+
CheckedIndexer(char_type *buf, size_t len)
7070
{
7171
buffer = buf;
7272
length = len;

0 commit comments

Comments
 (0)