add explicit

pull/3222/head
Isaac Connor 2021-04-20 17:15:53 -04:00
parent 1f48dbbf6c
commit 05e7b6dfc5
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ protected:
bool ok;
public:
RegExpr( const char *pattern, int cflags=0, int p_max_matches=32 );
explicit RegExpr( const char *pattern, int cflags=0, int p_max_matches=32 );
~RegExpr();
bool Ok() const { return( ok ); }
int MatchCount() const { return( n_matches ); }