diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-10 09:59:32 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-10 09:59:32 -0700 |
commit | 3cfa56a923e2ff96c01ba932ecc9cc4ec38e616d (patch) | |
tree | 14091a2e015687e8c3143d9451ea357c9d1f4b5b /033exclusive_container.cc | |
parent | 7303b27fe555644daf45b89e9feb1908f1f085e4 (diff) | |
download | mu-3cfa56a923e2ff96c01ba932ecc9cc4ec38e616d.tar.gz |
3313
Allow type-trees to be ordered in some consistent fashion. This could be quite inefficient since we often end up comparing the four sub-trees of the two arguments in 4 different ways. So far it isn't much of a time sink.
Diffstat (limited to '033exclusive_container.cc')
-rw-r--r-- | 033exclusive_container.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/033exclusive_container.cc b/033exclusive_container.cc index 77968966..fd870789 100644 --- a/033exclusive_container.cc +++ b/033exclusive_container.cc @@ -41,7 +41,7 @@ if (info.kind == EXCLUSIVE_CONTAINER) { } :(code) -void compute_exclusive_container_sizes(const type_info& exclusive_container_info, const type_tree* full_type, set<string>& pending_metadata) { +void compute_exclusive_container_sizes(const type_info& exclusive_container_info, const type_tree* full_type, set<type_tree>& pending_metadata) { // size of an exclusive container is the size of its largest variant // (So, like containers, it can only contain arrays if they're static and // include their length in the type.) |