Follow-up to bug 857790 - Undo the unintentional change to PodOperations.h
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 03 Apr 2013 18:59:24 -0400
changeset 138532 0673f4718ee2d6df39b4efb829882d15f79f7129
parent 138531 66ff22df8956d7416a5764831903b6375d11c696
child 138533 bdf9d4faddd9ccc07e36f772475598609d4e276d
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs857790
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Follow-up to bug 857790 - Undo the unintentional change to PodOperations.h
mfbt/PodOperations.h
--- a/mfbt/PodOperations.h
+++ b/mfbt/PodOperations.h
@@ -9,20 +9,18 @@
  * These operations are preferable to memset, memcmp, and the like because they
  * don't require remembering to multiply by sizeof(T), array lengths, and so on
  * everywhere.
  */
 
 #ifndef mozilla_PodOperations_h
 #define mozilla_PodOperations_h
 
-#define MOZ_DELETE delete
-#define MOZ_ASSERT
-#define MOZ_ASSERT_IF
-#define MOZ_ALWAYS_INLINE __attribute__((always_inline)) __inline__
+#include "mozilla/Attributes.h"
+#include "mozilla/Util.h"
 
 #include <string.h>
 
 namespace mozilla {
 
 /** Set the contents of |t| to 0. */
 template<typename T>
 static void