Fixed incorrect comment [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-06-26 21:13:07 +03:00
parent faf43b5cef
commit 807d51d6c8

View File

@ -28,7 +28,7 @@ namespace Regexps
template <bool like, bool no_capture>
inline Pool::Pointer get(const std::string & pattern)
{
/// C++11 has thread-safe function-local statics on most modern compilers.
/// C++11 has thread-safe function-local statics.
static Pool known_regexps; /// Different variables for different pattern parameters.
return known_regexps.get(pattern, [&pattern]