projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8786820
)
Fail compile if no shapers enabled
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 26 Jun 2019 20:01:58 +0000
(13:01 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 26 Jun 2019 20:01:58 +0000
(13:01 -0700)
src/hb-shaper.cc
patch
|
blob
|
history
diff --git
a/src/hb-shaper.cc
b/src/hb-shaper.cc
index
575ab1f
..
4858a6a
100644
(file)
--- a/
src/hb-shaper.cc
+++ b/
src/hb-shaper.cc
@@
-34,6
+34,7
@@
static const hb_shaper_entry_t all_shapers[] = {
#include "hb-shaper-list.hh"
#undef HB_SHAPER_IMPLEMENT
};
+static_assert (0 != ARRAY_LENGTH_CONST (all_shapers), "No shaper enabled.");
#if HB_USE_ATEXIT
static void free_static_shapers ();