Small optimization hinted by profiling

* include/abg-diff-utils.h (d_path_vec::max_d): Avoid using member
	functions.  This is relevant only when compiling w/o optimization.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2014-02-10 14:02:59 +01:00
parent de342efd76
commit ef94728513

View File

@ -545,7 +545,7 @@ public:
unsigned
max_d() const
{return a_size() + b_size();}
{return a_size_ + b_size_;}
unsigned
offset() const