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
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2015-06-23 19:27:13 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:10 +0300
commitfeaed63782baaa15a0311aae5b41e9ebe624b754 (patch)
treee44309b256d7137497e58af7ac06d9470de34c20 /indexer/scale_index_builder.hpp
parentd616887a9875d6c7a9b6059cfb00300458b76daf (diff)
[omim] Fix linux build.
Diffstat (limited to 'indexer/scale_index_builder.hpp')
-rw-r--r--indexer/scale_index_builder.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/scale_index_builder.hpp b/indexer/scale_index_builder.hpp
index 65284cc693..70474dcb35 100644
--- a/indexer/scale_index_builder.hpp
+++ b/indexer/scale_index_builder.hpp
@@ -50,7 +50,9 @@ private:
uint32_t m_Feature;
};
STATIC_ASSERT(sizeof(CellFeaturePair) == 12);
+#ifndef OMIM_OS_LINUX
STATIC_ASSERT(is_trivially_copyable<CellFeaturePair>::value);
+#endif
class CellFeatureBucketTuple
{
@@ -75,7 +77,9 @@ private:
uint32_t m_bucket;
};
STATIC_ASSERT(sizeof(CellFeatureBucketTuple) == 16);
+#ifndef OMIM_OS_LINUX
STATIC_ASSERT(is_trivially_copyable<CellFeatureBucketTuple>::value);
+#endif
template <class TSorter>
class FeatureCoverer