diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-17 13:07:27 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-18 23:46:50 +0300 |
commit | c20c1d6a6b3eb301db88ca3e74993f445cc4d839 (patch) | |
tree | 7011952bc5cc49d62b2be4b96ba3c3c7bbd3e54d /platform/default/image.cpp | |
parent | 41497e9c4174d310f3a62548f3cfeb9da2852849 (diff) | |
download | qtlocation-mapboxgl-c20c1d6a6b3eb301db88ca3e74993f445cc4d839.tar.gz |
[core] Avoid redundant 'inline' usage
Diffstat (limited to 'platform/default/image.cpp')
-rw-r--r-- | platform/default/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/image.cpp b/platform/default/image.cpp index d4e42d8a1b..890d442683 100644 --- a/platform/default/image.cpp +++ b/platform/default/image.cpp @@ -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); |