]> sourceware.org Git - libabigail.git/commit
dwarf-reader: fix recursion in expr_result::operator&
authorMatthias Maennich via libabigail <libabigail@sourceware.org>
Mon, 15 Apr 2019 17:05:22 +0000 (18:05 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 16 Apr 2019 14:11:02 +0000 (16:11 +0200)
commit90c32a8df5a4ebd3509504211fbf5bd082b4897c
tree5b4633174098e134d68a72d4647f7b32654f4c90
parent573995d1f5f12712c397520292da3e5b797ad98a
dwarf-reader: fix recursion in expr_result::operator&

operator& was implemented in terms of itself, leading to infinite
recursion. Fix that by implementing it in terms of &='ing the const
value. That is consistent with all other ?= operators.

 * src/abg-dwarf-reader.cc: fix expr_result::operator&

Signed-off-by: Matthias Maennich <maennich@google.com>
src/abg-dwarf-reader.cc
This page took 0.031701 seconds and 5 git commands to generate.