summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2013-06-14 14:12:07 -0700
committerRaph Levien <raph@google.com>2013-06-14 14:12:07 -0700
commitf660ef9ee63a500b7fb878e502ea5fd519c39607 (patch)
treea664c626ce8fe3ef46eaa876d5d269fcc36d127e
parentbcc3dc5a2591a95a57e379e27cbad69c18e91e67 (diff)
downloadandroid_frameworks_minikin-f660ef9ee63a500b7fb878e502ea5fd519c39607.tar.gz
android_frameworks_minikin-f660ef9ee63a500b7fb878e502ea5fd519c39607.tar.bz2
android_frameworks_minikin-f660ef9ee63a500b7fb878e502ea5fd519c39607.zip
Fix build breakage
The MinikinFont class was missing a destructor. The build error was not caught because incremental builds didn't see fit to relink after I deleted one of the source files (that contained the impl of this destructor). Change-Id: Ic72d56fe28316cd2b2f808910e34ca6f177a1220
-rw-r--r--include/minikin/MinikinFont.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/minikin/MinikinFont.h b/include/minikin/MinikinFont.h
index 2c265c3..c08e4fe 100644
--- a/include/minikin/MinikinFont.h
+++ b/include/minikin/MinikinFont.h
@@ -38,8 +38,7 @@ public:
void Ref() { mRefcount_++; }
void Unref() { if (--mRefcount_ == 0) { delete this; } }
- //MinikinFont();
- virtual ~MinikinFont() = 0;
+ virtual ~MinikinFont() { };
virtual bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const = 0;