Skip to content

Include cassert for assert() declaration#96

Open
tpopela wants to merge 1 commit intogoogle:masterfrom
tpopela:patch-1
Open

Include cassert for assert() declaration#96
tpopela wants to merge 1 commit intogoogle:masterfrom
tpopela:patch-1

Conversation

@tpopela
Copy link
Contributor

@tpopela tpopela commented Oct 10, 2017

This fixes the following build fail:

/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc: In function 'bool woff2::{anonymous}::ReconstructTransformedHmtx(const uint8_t*, size_t, uint16_t, uint16_t, const std::vector&, uint32_t*, woff2::WOFF2Out*)':
/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc:693:37: error: 'assert' was not declared in this scope
assert(x_mins.size() == num_glyphs);
^

This fixes the following build fail:

/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc: In function 'bool woff2::{anonymous}::ReconstructTransformedHmtx(const uint8_t*, size_t, uint16_t, uint16_t, const std::vector<short int>&, uint32_t*, woff2::WOFF2Out*)':
/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc:693:37: error: 'assert' was not declared in this scope
   assert(x_mins.size() == num_glyphs);
                                     ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant