diff options
-rw-r--r-- | libadhocutil/fprintbf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libadhocutil/fprintbf.h b/libadhocutil/fprintbf.h index 59d33d8..a997fae 100644 --- a/libadhocutil/fprintbf.h +++ b/libadhocutil/fprintbf.h @@ -13,13 +13,13 @@ DLL_PUBLIC size_t fprintbf(FILE *, const boost::format &); DLL_PUBLIC FILE * fopen(const boost::filesystem::path & path, const char * mode); template <typename ... Params> -size_t fprintbf(FILE * f, const std::string & fmt, const Params & ... p) +size_t inline fprintbf(FILE * f, const std::string & fmt, const Params & ... p) { return fprintbf(f, *AdHoc::Buffer::getFormat(fmt), p...); } template <typename Param, typename ... Params> -size_t fprintbf(FILE * f, boost::format & fmt, const Param & p, const Params & ... ps) +size_t inline fprintbf(FILE * f, boost::format & fmt, const Param & p, const Params & ... ps) { fmt % p; return fprintbf(f, fmt, ps...); |