mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
fixed const adjustments.
This commit is contained in:
@@ -92,7 +92,7 @@ hs_database_t *buildDB(const pattern &expr, unsigned int mode) {
|
||||
|
||||
hs_database_t *buildDB(const char *expression, unsigned int flags,
|
||||
unsigned int id, unsigned int mode,
|
||||
hs_platform_info_t *plat) {
|
||||
const hs_platform_info_t *plat) {
|
||||
return buildDB({pattern(expression, flags, id)}, mode, plat);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user