]> sourceware.org Git - libabigail.git/commit
abg-reporter: fully qualify std::string and std::ostream
authorMatthias Maennich <maennich@google.com>
Fri, 29 May 2020 20:17:22 +0000 (22:17 +0200)
committerDodji Seketeli <dodji@redhat.com>
Thu, 11 Jun 2020 13:10:44 +0000 (15:10 +0200)
commit20b989fd3c5bbfd012943cc5206326c893641b03
tree67d171f81c166c1b1fb1cc0343954ce7dd44ccc1
parent2b4ff3c6cfc49f5206db38238e352ed1c9da62a1
abg-reporter: fully qualify std::string and std::ostream

In order to not unnecessarily pollute the abigail namespace and to avoid
ambiguity at compile time, fully qualify std::string and std::string.
This also resolves the issue that include/abg-reporter.h could not be
compiled standalone and therefore was broken as a public header. It
required a `using std::string` from a prior include.

* include/abg-reporter.h (reporter_base::report) fully qualify
std::string and std::ostream for all overloads.
(default_reporter::report_local_typedef_changes): Likewise.
(default_reporter::report_local_qualified_type_changes): Likewise.
(default_reporter::report_local_reference_type_changes): Likewise.
(default_reporter::report_local_function_type_changes): Likewise.
(default_reporter::report): Likewise.
(leaf_reporter::report_changes_from_diff_maps): Likewise.
(leaf_reporter::report): Likewise.

Suggested-by: Mark Barolak <mbar@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
include/abg-reporter.h
This page took 0.032311 seconds and 5 git commands to generate.