Remove extra semicolon at end of namespace
Upcoming clang update to r328903 adds a new warning: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi] which is included in -Weverything. We can just delete the extra semicolon (even though we use gnu99), and save the extra byte. Test: Build Change-Id: I49b6e6af483e011632e6a34c0663c93e5c385aa6
This commit is contained in:
parent
20d2159803
commit
eab48ce0d5
7 changed files with 8 additions and 8 deletions
|
@ -81,8 +81,8 @@ enum {
|
|||
# define NO_ERROR 0L
|
||||
#endif
|
||||
|
||||
}; // namespace android
|
||||
|
||||
} // namespace android
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#endif // ANDROID_ERRORS_H
|
||||
|
|
|
@ -69,4 +69,4 @@ public:
|
|||
virtual ~VirtualLightRefBase() = default;
|
||||
};
|
||||
|
||||
}; // namespace android
|
||||
} // namespace android
|
||||
|
|
|
@ -683,7 +683,7 @@ void move_backward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) {
|
|||
ReferenceMover::move_references(d, s, n);
|
||||
}
|
||||
|
||||
}; // namespace android
|
||||
} // namespace android
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -243,7 +243,7 @@ inline String16::operator const char16_t*() const
|
|||
return mString;
|
||||
}
|
||||
|
||||
}; // namespace android
|
||||
} // namespace android
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -239,7 +239,7 @@ void sp<T>::set_pointer(T* ptr) {
|
|||
m_ptr = ptr;
|
||||
}
|
||||
|
||||
}; // namespace android
|
||||
} // namespace android
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -329,7 +329,7 @@ template <typename T> inline hash_t hash_type(T* const & value) {
|
|||
return hash_type(uintptr_t(value));
|
||||
}
|
||||
|
||||
}; // namespace android
|
||||
} // namespace android
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -35,6 +35,6 @@ typedef void (*sysprop_change_callback)(void);
|
|||
void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
|
||||
void report_sysprop_change();
|
||||
|
||||
}; // namespace android
|
||||
} // namespace android
|
||||
|
||||
#endif // _LIBS_UTILS_MISC_H
|
||||
|
|
Loading…
Reference in a new issue