From 49b20741fb018f5c54d905465ef84a059321d544 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 6 Dec 2015 00:36:42 +0000 Subject: Inline the fprintbf wrappers --- libadhocutil/fprintbf.h | 4 ++-- 1 file 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 -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 -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...); -- cgit v1.2.3