Changeset 18963 for trunk


Ignore:
Timestamp:
04/04/18 17:46:58 (7 years ago)
Author:
tbretz
Message:
Tell the compiler that fmt is a format string
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/tools.h

    r18876 r18963  
    88namespace Tools
    99{
     10     __attribute__((__format__ (__printf__, 1, 0)))
    1011    std::string Format(const char *fmt, va_list &ap);
     12
     13     __attribute__((__format__ (__printf__, 1, 0)))
    1114    std::string Form(const char *fmt, ...);
    12     std::string Trim(const std::string &str);
     15
     16     std::string Trim(const std::string &str);
    1317    std::string TrimQuotes(const std::string &str);
    1418    std::string Wrap(std::string &str, size_t width=78);
Note: See TracChangeset for help on using the changeset viewer.