Skip to content

Commit

Permalink
add explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Apr 20, 2021
1 parent 1f48dbb commit 05e7b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zm_regexp.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RegExpr
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 ); }
Expand Down

0 comments on commit 05e7b6d

Please sign in to comment.