diff options
Diffstat (limited to '033exclusive_container.cc')
-rw-r--r-- | 033exclusive_container.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/033exclusive_container.cc b/033exclusive_container.cc index ea2d8e3a..46dd2e64 100644 --- a/033exclusive_container.cc +++ b/033exclusive_container.cc @@ -40,8 +40,9 @@ if (t.kind == EXCLUSIVE_CONTAINER) { // (So like containers, it can't contain arrays.) long long int result = 0; for (long long int i = 0; i < t.size; ++i) { - long long int tmp = size_of(t.elements.at(i)); - if (tmp > result) result = tmp; + // End size_of(type) Exclusive Container Cases + long long int size = size_of(t.elements.at(i)); + if (size > result) result = size; } // ...+1 for its tag. return result+1; |