]> sourceware.org Git - libabigail.git/commitdiff
Fix pretty printing of pointer_diff node
authorDodji Seketeli <dodji@redhat.com>
Thu, 25 Dec 2014 10:08:48 +0000 (11:08 +0100)
committerDodji Seketeli <dodji@redhat.com>
Fri, 26 Dec 2014 13:59:49 +0000 (14:59 +0100)
While working on un-sharing diff nodes, I observed that the pretty
printed representation of pointer_diff nodes  was lacking an opening
square bracket.  Fixed thus.

* src/abg-comparison.cc (pointer_diff::get_pretty_representation):
Add the missing opening square bracket.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-comparison.cc

index 665d12c634c7c395c238bde6a5b0c25281924c3d..5d670e15422ad516cc7a6752c18a0185cff60f5f 100644 (file)
@@ -4542,7 +4542,7 @@ pointer_diff::get_pretty_representation() const
   if (diff::priv_->pretty_representation_.empty())
     {
       std::ostringstream o;
-      o << "pointer_diff"
+      o << "pointer_diff["
        << first_subject()->get_pretty_representation()
        << ", "
        << second_subject()->get_pretty_representation()
This page took 0.045474 seconds and 5 git commands to generate.