remove default value for size argument.

This commit is contained in:
Xpol Wan 2016-04-26 14:54:20 +08:00
parent 3f8910d80c
commit bd3c3a7c3d
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ void CCFreeTypeFont::compute_bbox(std::vector<TGlyph>& glyphs, FT_BBox *abbox)
} }
namespace { namespace {
inline unsigned char* takeBuffer(Data& data, ssize_t* size = nullptr) { inline unsigned char* takeBuffer(Data& data, ssize_t* size) {
auto buffer = data.getBytes(); auto buffer = data.getBytes();
if (size) if (size)
*size = data.getSize(); *size = data.getSize();