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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-03-23 14:58:27 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:40:44 +0300
commit744796975c3d4690e5745ff23afc3ffdd1857bf1 (patch)
treee05105131ffe60fc7cfb1ede6076b33743756ed6 /indexer/features_offsets_table.hpp
parenta0b92559252de90bb743063beaa3d4ceff893c13 (diff)
clang-format codestyle fixes
Diffstat (limited to 'indexer/features_offsets_table.hpp')
-rw-r--r--indexer/features_offsets_table.hpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/indexer/features_offsets_table.hpp b/indexer/features_offsets_table.hpp
index dc37590c83..d92a840ef7 100644
--- a/indexer/features_offsets_table.hpp
+++ b/indexer/features_offsets_table.hpp
@@ -30,10 +30,7 @@ namespace feature
void PushOffset(uint32_t offset);
/// \return number of already accumulated offsets
- inline size_t size() const
- {
- return m_offsets.size();
- }
+ inline size_t size() const { return m_offsets.size(); }
private:
friend class FeaturesOffsetsTable;
@@ -90,18 +87,12 @@ namespace feature
size_t GetFeatureIndexbyOffset(uint32_t offset) const;
/// \return number of features offsets in a table.
- inline size_t size() const
- {
- return static_cast<size_t>(m_table.num_ones());
- }
+ inline size_t size() const { return static_cast<size_t>(m_table.num_ones()); }
/// \return byte size of a table, may be slightly different from a
/// real byte size in memory or on disk due to alignment, but
/// can be used in benchmarks, logging, etc.
- inline size_t byte_size()
- {
- return succinct::mapper::size_of(m_table);
- }
+ inline size_t byte_size() { return succinct::mapper::size_of(m_table); }
private:
FeaturesOffsetsTable(succinct::elias_fano::elias_fano_builder & builder);