am 7f15e28d: Merge "Clean up warnings in libstdc++."

* commit '7f15e28dd4184015a2c990b6e45c33c35b251935':
  Clean up warnings in libstdc++.
This commit is contained in:
Elliott Hughes 2014-03-07 19:39:54 +00:00 committed by Android Git Automerger
commit dd0222a1fe
2 changed files with 10 additions and 14 deletions

View File

@ -9,6 +9,7 @@ ifeq ($(TARGET_CPU_SMP),true)
else
libstdc++_cflags += -DANDROID_SMP=0
endif
libstdc++_cflags += -Wall -Wextra -Werror
include $(CLEAR_VARS)

View File

@ -7,26 +7,21 @@ type_info::type_info() {
type_info::~type_info() {
}
char const *
type_info::name() const {
return "N/A";
char const* type_info::name() const {
return "N/A";
}
bool
type_info::operator==(type_info const & right) const {
return false;
bool type_info::operator==(type_info const& /*rhs*/) const {
return false;
}
bool
type_info::operator!=(type_info const & right) const {
return false;
bool type_info::operator!=(type_info const& /*rhs*/) const {
return false;
}
bool
type_info::before(type_info const & right) const {
return false;
bool type_info::before(type_info const& /*rhs*/) const {
return false;
}
type_info::type_info(type_info const & right) {
type_info::type_info(type_info const& /*rhs*/) {
}