[core] Avoid redundant 'inline' usage

This commit is contained in:
Bruno de Oliveira Abinader
2016-06-17 13:07:27 +03:00
parent 41497e9c41
commit c20c1d6a6b
37 changed files with 184 additions and 183 deletions

View File

@@ -5,7 +5,7 @@
#include <png.h>
template<size_t max, typename... Args>
inline static std::string sprintf(const char *msg, Args... args) {
static std::string sprintf(const char *msg, Args... args) {
char res[max];
int len = snprintf(res, sizeof(res), msg, args...);
return std::string(res, len);