writerfilter: remove gperf related declarations
Reportedly gperf 3.1 changes the signature of in_word_set(), where the len parameter changes from unsigned int to size_t. It turns out the only forward declaration for this function is currently unused, so just remove it. Change-Id: Ifbc582cd31ca37fff9ff95a3706ee902ecfe5223
This commit is contained in:
@@ -105,17 +105,7 @@ def createFastChildContextFromStart(model):
|
|||||||
|
|
||||||
|
|
||||||
def fastTokenToId(model):
|
def fastTokenToId(model):
|
||||||
print("""namespace tokenmap {
|
print("""
|
||||||
struct token { const char* name; Token_t nToken; };
|
|
||||||
class Perfect_Hash
|
|
||||||
{
|
|
||||||
private:
|
|
||||||
static inline unsigned int hash (const char* str, unsigned int len);
|
|
||||||
public:
|
|
||||||
static struct token* in_word_set (const char* str, unsigned int len);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string fastTokenToId(sal_uInt32 nToken)
|
std::string fastTokenToId(sal_uInt32 nToken)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user