glsl2: move constructor into .cpp file to work around compiler bug
authorBrian Paul <brianp@vmware.com>
Tue, 24 Aug 2010 16:01:40 +0000 (10:01 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 24 Aug 2010 16:01:44 +0000 (10:01 -0600)
commit2eb8b2d3bb68cef1d3fc431debe1b18f6c017aeb
treee06be65c90be40c4bc515b280afce4d522638217
parentf3ec111b0af9d268e6b3c6d3226a448d19e45d8c
glsl2: move constructor into .cpp file to work around compiler bug

Fixes fd.o bug 29770

The refcount==0 assertion only failed on some systems.  One example
being 32-bit Linux with gcc 4.4.4.
src/glsl/ir_variable_refcount.cpp
src/glsl/ir_variable_refcount.h