X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbuilders%2Ffont.cpp;fp=source%2Fbuilders%2Ffont.cpp;h=1ede612a1dec64e9ab2e671a5a9398fc44e8f6dc;hp=f46475bcae69c84bc5497f9bd397669ddeefb48a;hb=f19366d32cc29287a2730cfba90893e407754081;hpb=f96d553dbf78f9d664d1dbb1fe002fc43f23ad47 diff --git a/source/builders/font.cpp b/source/builders/font.cpp index f46475bc..1ede612a 100644 --- a/source/builders/font.cpp +++ b/source/builders/font.cpp @@ -143,19 +143,8 @@ Font::Glyph::Glyph(): { } -Font::Loader::Loader(Font &f): - DataFile::CollectionObjectLoader(f, 0) -{ - init(); -} - -Font::Loader::Loader(Font &f, Collection &c): - DataFile::CollectionObjectLoader(f, &c) -{ - init(); -} - -void Font::Loader::init() +Font::Loader::Loader(Font &f, Collection *c): + DataFile::CollectionObjectLoader(f, c) { add("native_size", &Font::native_size); add("ascent", &Font::ascent);