mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 07:42:21 +03:00
use STL make_unique, remove wrapper header, breaks C++17 compilation
This commit is contained in:
committed by
Konstantinos Margaritis
parent
18693bd14c
commit
be5a675da8
@@ -894,6 +894,7 @@ TEST(DoubleShufti, ExecMatchMixed3) {
|
||||
for (size_t i = 0; i < 400; i++) {
|
||||
t2[len - i] = 'x';
|
||||
t2[len - i + 1] = 'y';
|
||||
DEBUG_PRINTF("i = %ld\n", i);
|
||||
const u8 *rv = shuftiDoubleExec(lo1, hi1, lo2, hi2,
|
||||
(u8 *)t2, (u8 *)t2 + len);
|
||||
|
||||
@@ -1106,6 +1107,7 @@ TEST(ReverseShufti, ExecMatch6) {
|
||||
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
t1[i] = 'a';
|
||||
DEBUG_PRINTF("i=%ld\n", i);
|
||||
const u8 *rv = rshuftiExec(lo, hi, (u8 *)t1, (u8 *)t1 + len);
|
||||
|
||||
ASSERT_EQ((const u8 *)t1 + i, rv);
|
||||
|
Reference in New Issue
Block a user