summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-06 00:36:42 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-06 00:36:42 +0000
commit49b20741fb018f5c54d905465ef84a059321d544 (patch)
tree520815c2eadd837bfb300c67dda526c1029fab53
parentEnable gc-sections in release (diff)
downloadlibadhocutil-0.3.tar.bz2
libadhocutil-0.3.tar.xz
libadhocutil-0.3.zip
Inline the fprintbf wrapperslibadhocutil-0.3
-rw-r--r--libadhocutil/fprintbf.h4
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...);