mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-21 00:40:45 +00:00
[xml-writer] Remove a useless kludge
* src/abg-writer.cc (write_context::type_is_emitted): Remove useless kludge from here. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
7699dfc921
commit
eff603b4c3
@ -602,10 +602,7 @@ public:
|
||||
bool
|
||||
type_is_emitted(const type_base *t)
|
||||
{
|
||||
type_base *c = t->get_naked_canonical_type();
|
||||
if (c == 0)
|
||||
c = const_cast<type_base*>(t);
|
||||
return m_emitted_type_set.find(c) != m_emitted_type_set.end();
|
||||
return m_emitted_type_set.find(t) != m_emitted_type_set.end();
|
||||
}
|
||||
|
||||
/// Test if a given type has been written out to the XML output.
|
||||
|
Loading…
Reference in New Issue
Block a user