aboutsummaryrefslogtreecommitdiff
path: root/abigail_reader.cc
diff options
context:
space:
mode:
authorGiuliano Procida <gprocida@google.com>2023-01-24 16:15:28 +0000
committerMatthias Maennich <maennich@google.com>2023-01-25 23:50:01 +0000
commit63d6cd2a0e123a7f0877a18e7a4141c52760e153 (patch)
tree3e7bd85748e806d5f5627526f2ce2816ce933c13 /abigail_reader.cc
parent7f7b46eea97d806519dfd9323cd22bbb3cbcba59 (diff)
downloadstg-63d6cd2a0e123a7f0877a18e7a4141c52760e153.tar.gz
drop enumeration size
Following on from the previous change, drop enumeration size from the model. This was obsoleted by the addition of enum underlying types. Note that size and C++ fixed type changes to enumeration types will mostly be reported as changes *of* (as opposed to *to*) the underlying types. PiperOrigin-RevId: 504278972 Change-Id: I5ab6537938aefe03ed05d4ce5a7341798a31af07
Diffstat (limited to 'abigail_reader.cc')
-rw-r--r--abigail_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/abigail_reader.cc b/abigail_reader.cc
index 887a8d0..a5de89a 100644
--- a/abigail_reader.cc
+++ b/abigail_reader.cc
@@ -614,7 +614,7 @@ void Abigail::ProcessEnum(Id id, xmlNodePtr enumeration) {
enumerators.emplace_back(enumerator_name, enumerator_value);
}
- graph_.Set<Enumeration>(id, name, 0, type, enumerators);
+ graph_.Set<Enumeration>(id, name, type, enumerators);
}
Id Abigail::ProcessBaseClass(xmlNodePtr base_class) {