mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
removed unused code
This commit is contained in:
1 parent
6186dbf1be
commit
0b2870085d
1 file changed
-18
@@ -575,12 +575,6 @@ struct ArgStack : Stack<ARG, 513>
|
||||
return this->pop ();
|
||||
}
|
||||
|
||||
inline void pop_num2 (ARG& n1, ARG& n2)
|
||||
{
|
||||
n2 = this->pop ();
|
||||
n1 = this->pop ();
|
||||
}
|
||||
|
||||
inline int pop_int (void)
|
||||
{
|
||||
return this->pop ().to_int ();
|
||||
@@ -613,18 +607,6 @@ struct ArgStack : Stack<ARG, 513>
|
||||
return true;
|
||||
}
|
||||
|
||||
inline void reverse_range (int i, int j)
|
||||
{
|
||||
assert (i >= 0 && i <= j);
|
||||
ARG tmp;
|
||||
while (i < j)
|
||||
{
|
||||
tmp = S::elements[i];
|
||||
S::elements[i++] = S::elements[j];
|
||||
S::elements[j--] = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
typedef Stack<ARG, 513> S;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user