mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fixed incorrect comment [#CLICKHOUSE-2].
This commit is contained in:
parent
faf43b5cef
commit
807d51d6c8
@ -28,7 +28,7 @@ namespace Regexps
|
|||||||
template <bool like, bool no_capture>
|
template <bool like, bool no_capture>
|
||||||
inline Pool::Pointer get(const std::string & pattern)
|
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.
|
static Pool known_regexps; /// Different variables for different pattern parameters.
|
||||||
|
|
||||||
return known_regexps.get(pattern, [&pattern]
|
return known_regexps.get(pattern, [&pattern]
|
||||||
|
Loading…
Reference in New Issue
Block a user