mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-05 22:27:34 +00:00
Rename class_decl::member_type::get_type into as_type
* src/abg-ir.h (class_decl::member_type::get_type): Rename this into class_decl::member_type::as_type. * src/abg-writer.cc (write_class_decl): Adjust.
This commit is contained in:
parent
80d0e29f69
commit
ed33523dd6
@ -953,7 +953,7 @@ public:
|
||||
bool
|
||||
operator==(const member_type& o) const
|
||||
{
|
||||
return (*get_type() == *o.get_type()
|
||||
return (*as_type() == *o.as_type()
|
||||
&& static_cast<member>(*this) == o);
|
||||
}
|
||||
|
||||
@ -961,7 +961,7 @@ public:
|
||||
{return m_type;}
|
||||
|
||||
shared_ptr<type_base>
|
||||
get_type() const
|
||||
as_type() const
|
||||
{return m_type;}
|
||||
|
||||
private:
|
||||
|
@ -976,7 +976,7 @@ write_class_decl(const shared_ptr<class_decl> decl,
|
||||
write_access(*ti, o);
|
||||
o << ">\n";
|
||||
|
||||
write_decl(dynamic_pointer_cast<decl_base>((*ti)->get_type()), ctxt,
|
||||
write_decl(dynamic_pointer_cast<decl_base>((*ti)->as_type()), ctxt,
|
||||
get_indent_to_level(ctxt, indent, 2));
|
||||
o << "\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user