From 05e7b6dfc5e53fe1fc7a078bb962907e4f16c40a Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 20 Apr 2021 17:15:53 -0400 Subject: [PATCH] add explicit --- src/zm_regexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_regexp.h b/src/zm_regexp.h index 19a13f234..9c9ec5675 100644 --- a/src/zm_regexp.h +++ b/src/zm_regexp.h @@ -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 ); }