Kaydet (Commit) 19c0eff3 authored tarafından Michael Stahl's avatar Michael Stahl

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
üst 27a90591
......@@ -105,17 +105,7 @@ def createFastChildContextFromStart(model):
def fastTokenToId(model):
print("""namespace tokenmap {
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);
};
}
print("""
std::string fastTokenToId(sal_uInt32 nToken)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment