Ignore:
Timestamp:
Apr 20, 2011, 4:58:05 PM (9 years ago)
Author:
tbretz
Message:
Moved the tools function into their own namespace to get rid of problems whenlinking with root.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Readline.cc

    r10343 r10429  
    536536string Readline::GetLinePrompt() const
    537537{
    538     return Form("[%d]", fLine);
     538    return Tools::Form("[%d]", fLine);
    539539}
    540540
     
    996996        return false;
    997997
    998     str = Trim(buf);
     998    str = Tools::Trim(buf);
    999999
    10001000    free(buf);
     
    10241024    Shutdown(buf ? buf : "");
    10251025
    1026     const string str = !buf || (rl_done && rl_pending_input==4) ? ".q" : Trim(buf);
     1026    const string str = !buf || (rl_done && rl_pending_input==4)
     1027        ? ".q" : Tools::Trim(buf);
    10271028
    10281029    free(buf);
Note: See TracChangeset for help on using the changeset viewer.