Another C++ strictness fix
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 20 Nov 2009 01:28:03 +0000 (20:28 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 20 Nov 2009 01:35:01 +0000 (20:35 -0500)
commit807b8aa486753474e05e09f4fcca8ac94021b97c
tree151925237a89947cc42c7a1ec8575c845ce3dfc1
parent8b9b866d3e495c186f0530fcf4e00ffcdc170d3f
Another C++ strictness fix

Pango Bug 602408 - Invalid C++ code breaks compile with Sun C++ Compiler
(Error: A union member cannot have a user-defined assignment operator)

According to the bug:

C++ Programming Language by Bjarne Stroustrup: Chapter 10.4.12 forbids
explicitly using of union members with constructors, destructors or assignment
operations.

So we use a set() method instead of the assignment operator.  Ugly, but hey,
that's life.
src/hb-open-type-private.hh
src/hb-ot-layout-common-private.hh