Mercurial > hg > octave-max
changeset 15232:8442131a391a
jit-ir.h (jit_use::stash_value): Explicitly specify parent template types
author | Max Brister <max@2bass.com> |
---|---|
date | Sat, 25 Aug 2012 14:04:38 -0600 |
parents | b0c08e995950 |
children | 2c0259dc1a82 |
files | libinterp/interp-core/jit-ir.h |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/interp-core/jit-ir.h +++ b/libinterp/interp-core/jit-ir.h @@ -280,6 +280,10 @@ jit_use : public jit_internal_node<jit_value, jit_use> { public: + // some compilers don't allow us to use jit_internal_node without template + // paremeters + typedef jit_internal_node<jit_value, jit_use> PARENT_T; + jit_use (void) : muser (0), mindex (0) {} // we should really have a move operator, but not until c++11 :( @@ -305,7 +309,7 @@ void stash_value (jit_value *avalue, jit_instruction *auser = 0, size_t aindex = -1) { - jit_internal_node::stash_value (avalue); + PARENT_T::stash_value (avalue); mindex = aindex; muser = auser; }