aboutsummaryrefslogtreecommitdiff
path: root/mp/src/tier1/snappy-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/tier1/snappy-internal.h')
-rw-r--r--mp/src/tier1/snappy-internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp/src/tier1/snappy-internal.h b/mp/src/tier1/snappy-internal.h
index 8bc4a529..c99d3313 100644
--- a/mp/src/tier1/snappy-internal.h
+++ b/mp/src/tier1/snappy-internal.h
@@ -50,7 +50,7 @@ class WorkingMemory {
uint16 small_table_[1<<10]; // 2KB
uint16* large_table_; // Allocated only when needed
- SNAPPY_DISALLOW_COPY_AND_ASSIGN(WorkingMemory);
+ DISALLOW_COPY_AND_ASSIGN(WorkingMemory);
};
// Flat array compression that does not emit the "uncompressed length"
@@ -85,7 +85,7 @@ char* CompressFragment(const char* input,
static inline int FindMatchLength(const char* s1,
const char* s2,
const char* s2_limit) {
- DCHECK_GE(s2_limit, s2);
+ assert(s2_limit >= s2);
int matched = 0;
// Find out how long the match is. We loop over the data 64 bits at a
@@ -122,7 +122,7 @@ static inline int FindMatchLength(const char* s1,
const char* s2,
const char* s2_limit) {
// Implementation based on the x86-64 version, above.
- DCHECK_GE(s2_limit, s2);
+ assert(s2_limit >= s2);
int matched = 0;
while (s2 <= s2_limit - 4 &&