[indic/khmer] Remove use of global constructors
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Sep 2018 09:43:22 +0000 (05:43 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Sep 2018 10:08:11 +0000 (06:08 -0400)
commitb1e07e1e6cc7a8e5445c7aeb9491ae629029011b
tree16507bb7b1db7f9ab58ac075cbf7f34443cfb422
parent00cd00e64130694ff7b49456d4bc421a153b4e6d
[indic/khmer] Remove use of global constructors

Alternative woul have been to resurrect F_COMBINE that I removed in
70136a78cb9eda244767f8e8a3d30d0f3c569d01

But this does it for now.  I'm not sure why check-static-inits.sh didn't
catch this before.  Clang -Weverything bot did:

  CXX      libharfbuzz_la-hb-ot-shape-complex-indic.lo
hb-ot-shape-complex-indic.cc:99:1: warning: declaration requires a global constructor [-Wglobal-constructors]
indic_features[] =
^
1 warning generated.
  CXX      libharfbuzz_la-hb-ot-shape-complex-khmer.lo
hb-ot-shape-complex-khmer.cc:36:1: warning: declaration requires a global constructor [-Wglobal-constructors]
khmer_features[] =
^
1 warning generated.
src/hb-ot-map.hh
src/hb-ot-shape-complex-indic.cc
src/hb-ot-shape-complex-khmer.cc