foldme draft
authorJeff Gilbert <jgilbert@mozilla.com>
Fri, 22 Jun 2018 17:02:43 -0700
changeset 809781 602b96c44880939ed28760c7f322d4d447620f7c
parent 809777 27bb28af102d51c73fdfd57eb8855cd35c26047d
child 809782 0bc052a30f9b2dfb26ae6b7e6251f63d8c47799a
push id113815
push userbmo:jgilbert@mozilla.com
push dateSat, 23 Jun 2018 00:04:22 +0000
milestone62.0a1
foldme MozReview-Commit-ID: LT8Qwk8Vv1w
mfbt/PodOperations.h
--- a/mfbt/PodOperations.h
+++ b/mfbt/PodOperations.h
@@ -186,17 +186,19 @@ PodEqual(const T* one, const T* two, siz
  */
 template <class T, size_t N>
 static MOZ_ALWAYS_INLINE bool
 PodEqual(const T (&one)[N], const T (&two)[N])
 {
   return PodEqual(one, two, N);
 }
 
+/** Compare the raw bytes of two objects of the same type. */
 template<typename T>
 static MOZ_ALWAYS_INLINE bool
-PodEqual(const T& a, const T& b) {
+PodEqual(const T& a, const T& b)
+{
   return !memcmp(&a, &b, sizeof(T));
 }
 
 } // namespace mozilla
 
 #endif /* mozilla_PodOperations_h */