commit | 807b8aa486753474e05e09f4fcca8ac94021b97c | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 19 20:28:03 2009 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 19 20:35:01 2009 -0500 |
tree | 151925237a89947cc42c7a1ec8575c845ce3dfc1 | |
parent | 8b9b866d3e495c186f0530fcf4e00ffcdc170d3f [diff] |
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.