mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 08:51:46 +03:00
Remove unused function
This commit is contained in:
parent
ba3c18e674
commit
092ac8e9ab
@ -157,12 +157,6 @@ bool operator== (const std::unique_ptr<T>& lhs, T* rhs)
|
|||||||
return lhs.get() == rhs;
|
return lhs.get() == rhs;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline String escape(const String& name)
|
|
||||||
{
|
|
||||||
static Regex ex{"([ \\t;])"};
|
|
||||||
return boost::regex_replace(name, ex, R"(\\\1)");
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
const T& clamp(const T& val, const T& min, const T& max)
|
const T& clamp(const T& val, const T& min, const T& max)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user