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/tools.cc

    r10338 r10429  
    1414using namespace std;
    1515
    16 string Format(const char *fmt, va_list &ap)
     16string Tools::Format(const char *fmt, va_list &ap)
    1717{
    1818    int n=256;
     
    3838}
    3939
    40 string Form(const char *fmt, ...)
     40string Tools::Form(const char *fmt, ...)
    4141{
    4242    va_list ap;
     
    6161//!    a std::string with the whitespaces removed from buf
    6262//
    63 string Trim(const string &str)
     63string Tools::Trim(const string &str)
    6464{
    6565    // Trim Both leading and trailing spaces
Note: See TracChangeset for help on using the changeset viewer.