Changeset 59

Show
Ignore:
Timestamp:
1999-09-17 14:44:12 (9 years ago)
Author:
olly
Message:

term_name_to_id now takes string parameter, not char*

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xapian-core/matcher/match.cc

    r56 r59  
    1010Match::add_pterm(const string& termname) 
    1111{ 
    12     // FIXME: const discarded... 
    13     termid id = DB->term_name_to_id((char*)termname.c_str()); 
     12    termid id = DB->term_name_to_id(termname); 
    1413 
    1514    if (!id) return false;