Small code simplification using SwigValueWrapper

Closes #1139
This commit is contained in:
William S Fulton 2017-11-03 07:11:12 +00:00
commit 7d6808daab

View file

@ -1542,7 +1542,7 @@ SwigType *SwigType_alttype(const SwigType *t, int local_tmap) {
}
} else {
if (SwigType_issimple(td) && SwigType_istemplate(td)) {
use_wrapper = !n || !GetFlag(n, "feature:novaluewrapper");
use_wrapper = 1;
}
}
}