diff options
author | Mike Buland <eichlan@xagasoft.com> | 2015-05-07 15:23:03 -0600 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2015-05-07 15:23:03 -0600 |
commit | 0655735c84f412b7ad3e65381dc24694a9ac8071 (patch) | |
tree | 42baeb025d0e2842fe0aad9b7e75da81db5e24ed /src/variable.cpp | |
parent | 75b3ad661c2d6ed382620a25613846c2b2b10f46 (diff) | |
download | stage-main.tar.gz stage-main.tar.bz2 stage-main.tar.xz stage-main.zip |
The variable was being reset, then used by reference as the next
destination. Confusing to debug.
Diffstat (limited to 'src/variable.cpp')
-rw-r--r-- | src/variable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.cpp b/src/variable.cpp index 88ac1bc..4ddec1a 100644 --- a/src/variable.cpp +++ b/src/variable.cpp | |||
@@ -1048,7 +1048,7 @@ void Variable::deinitType() | |||
1048 | 1048 | ||
1049 | Variable::Type Variable::bestType( Variable::Type t1, Variable::Type t2 ) const | 1049 | Variable::Type Variable::bestType( Variable::Type t1, Variable::Type t2 ) const |
1050 | { | 1050 | { |
1051 | Type tBest = Bu::max( t1, t2 ); | 1051 | Type tBest = Bu::buMax( t1, t2 ); |
1052 | 1052 | ||
1053 | return tBest; | 1053 | return tBest; |
1054 | } | 1054 | } |