Index: webrtc/modules/rtp_rtcp/source/byte_io.h |
diff --git a/webrtc/modules/rtp_rtcp/source/byte_io.h b/webrtc/modules/rtp_rtcp/source/byte_io.h |
index d8903b8483cf929ad532adbd388c2e3ff286847c..c69c1780785e7c946d304584b09ad3cf90fa3843 100644 |
--- a/webrtc/modules/rtp_rtcp/source/byte_io.h |
+++ b/webrtc/modules/rtp_rtcp/source/byte_io.h |
@@ -51,17 +51,14 @@ namespace webrtc { |
// platform that doesn't use two's complement, implement conversion to/from |
// wire format. |
-namespace { |
-inline void AssertTwosComplement() { |
- // Assume the if any one signed integer type is two's complement, then all |
- // other will be too. |
- static_assert( |
- (-1 & 0x03) == 0x03, |
- "Only two's complement representation of signed integers supported."); |
-} |
+// Assume the if any one signed integer type is two's complement, then all |
+// other will be too. |
+static_assert( |
+ (-1 & 0x03) == 0x03, |
+ "Only two's complement representation of signed integers supported."); |
+ |
// Plain const char* won't work for static_assert, use #define instead. |
#define kSizeErrorMsg "Byte size must be less than or equal to data type size." |
-} |
// Utility class for getting the unsigned equivalent of a signed type. |
template <typename T> |