mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[path-builder] Add a constexpr
This commit is contained in:
parent
e450552d07
commit
7222c1e50f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ struct path_builder_t
|
|||
{
|
||||
bool is_on_curve = point.flag & glyf_impl::SimpleGlyph::FLAG_ON_CURVE;
|
||||
#ifdef HB_NO_CUBIC_GLYF
|
||||
bool is_cubic = false;
|
||||
constexpr bool is_cubic = false;
|
||||
#else
|
||||
bool is_cubic = !is_on_curve && (point.flag & glyf_impl::SimpleGlyph::FLAG_CUBIC);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue