Changeset 7383


Ignore:
Timestamp:
2004-05-24T16:03:22+12:00 (20 years ago)
Author:
mdewsnip
Message:

Fixed a couple of compilation problems.

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/querytools.cpp

    r7380 r7383  
    396396  text_t word;
    397397  //unsigned short c;                                                           
    398   text_t::iterator here = terms.begin();
    399   text_t::iterator end = terms.end();
     398  text_t::const_iterator here = terms.begin();
     399  text_t::const_iterator end = terms.end();
    400400
    401401  while (here !=end) {
     
    446446
    447447
    448 void addqueryelem(text_t &querystring, const text_t &tag,
    449           const text_t &query, const text_t combine) {
     448void addqueryelem(text_t &querystring, text_t &tag,
     449          text_t &query, text_t &combine) {
    450450  if (!querystring.empty()) { // have to put and/or
    451451    querystring += " "+combine + " ";
     
    544544
    545545
    546 void format_field_info(text_t & querystring, const text_t &tag) {
     546void format_field_info(text_t & querystring, text_t &tag) {
    547547
    548548  if (tag == "ZZ" || tag == "") {
  • trunk/gsdl/src/recpt/querytools.h

    r7380 r7383  
    5656void parse_adv_query_form(text_t &formattedstring, cgiargsclass &args);
    5757
    58 void addqueryelem(text_t &querystring, const text_t &tag,
    59           const text_t &query, const text_t& combine);
     58void addqueryelem(text_t &querystring, text_t &tag,
     59          text_t &query, text_t &combine);
    6060void addqueryelem_ex(text_t &querystring, const text_t &tag,
    6161             const text_t &terms, const text_t &stem, const text_t &fold,
Note: See TracChangeset for help on using the changeset viewer.