Tweak a couple of things for style.
Change-Id: I53aa400704a08b2ac453237afb388c9a2b0fbe17
Reviewed-on: https://code-review.googlesource.com/4910
Reviewed-by: Paul Wankadia <junyer@google.com>
diff --git a/re2/re2.h b/re2/re2.h
index b8d8681..56fde7f 100644
--- a/re2/re2.h
+++ b/re2/re2.h
@@ -250,7 +250,7 @@
RE2(const string& pattern);
#endif
RE2(const StringPiece& pattern);
- RE2(const StringPiece& pattern, const Options& option);
+ RE2(const StringPiece& pattern, const Options& options);
~RE2();
// Returns whether RE2 was created properly.
@@ -343,7 +343,7 @@
template <typename F, typename SP, typename... A>
static inline bool Apply(F f, SP sp, const RE2& re, const A&... a) {
const Arg* const args[] = {&a...};
- constexpr int argc = sizeof...(a);
+ const int argc = sizeof...(a);
return f(sp, re, args, argc);
}