MXS-2304 Move last config_get_x() functions inside class
This commit is contained in:
@ -63,3 +63,21 @@ struct CloserTraits<pcre2_match_data*>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
||||
template<> class default_delete<pcre2_code>
|
||||
{
|
||||
public:
|
||||
void operator()(pcre2_code* p)
|
||||
{
|
||||
if (p)
|
||||
{
|
||||
pcre2_code_free(p);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user