Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/coding
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2018-11-28 13:04:56 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-11-30 16:01:49 +0300
commit5d5af46d48bf77f3632c9b039f7ce62e2a2904d5 (patch)
tree97acd4fbbacc61760489fe54bcf571b3835948e4 /coding
parent2da498b417b254a853543f68ecfc99a611cce1a0 (diff)
[base] Renamed CHECK_SWITCH to UNREACHABLE.
Diffstat (limited to 'coding')
-rw-r--r--coding/compressed_bit_vector.cpp2
-rw-r--r--coding/zlib.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/coding/compressed_bit_vector.cpp b/coding/compressed_bit_vector.cpp
index 45b00abdcb..33762975aa 100644
--- a/coding/compressed_bit_vector.cpp
+++ b/coding/compressed_bit_vector.cpp
@@ -461,7 +461,7 @@ string DebugPrint(CompressedBitVector::StorageStrategy strat)
case CompressedBitVector::StorageStrategy::Dense: return "Dense";
case CompressedBitVector::StorageStrategy::Sparse: return "Sparse";
}
- CHECK_SWITCH();
+ UNREACHABLE();
}
// static
diff --git a/coding/zlib.cpp b/coding/zlib.cpp
index 9b156cd629..0184cb97d8 100644
--- a/coding/zlib.cpp
+++ b/coding/zlib.cpp
@@ -19,7 +19,7 @@ int ToInt(ZLib::Deflate::Level level)
case Level::BestCompression: return Z_BEST_COMPRESSION;
case Level::DefaultCompression: return Z_DEFAULT_COMPRESSION;
}
- CHECK_SWITCH();
+ UNREACHABLE();
}
} // namespace