Code style fixes.

This commit is contained in:
vng 2015-07-01 13:55:37 +03:00 committed by Alex Zolotarev
parent fda4e3603d
commit 16cf707f79
2 changed files with 8 additions and 6 deletions

View file

@ -25,7 +25,6 @@ const routing::TNodesList kEmptyList;
namespace routing
{
TOsrmNodeId const INVALID_NODE_ID = numeric_limits<TOsrmNodeId>::max();
OsrmMappingTypes::FtSeg::FtSeg(uint32_t fid, uint32_t ps, uint32_t pe)
: m_fid(fid),

View file

@ -1,10 +1,10 @@
#pragma once
#include "indexer/features_offsets_table.hpp"
#include "coding/file_container.hpp"
#include "coding/mmap_reader.hpp"
#include "indexer/features_offsets_table.hpp"
#include "platform/platform.hpp"
#include "base/scope_guard.hpp"
@ -16,19 +16,21 @@
#include "std/vector.hpp"
#include "3party/succinct/rs_bit_vector.hpp"
#include "3party/succinct/elias_fano_compressed_list.hpp"
#include "defines.hpp"
namespace routing
{
typedef uint32_t TOsrmNodeId;
typedef vector<TOsrmNodeId> TNodesList;
extern TOsrmNodeId const INVALID_NODE_ID;
constexpr TOsrmNodeId INVALID_NODE_ID = numeric_limits<TOsrmNodeId>::max();
constexpr uint32_t kInvalidFid = numeric_limits<uint32_t>::max();
namespace OsrmMappingTypes {
namespace OsrmMappingTypes
{
#pragma pack (push, 1)
struct FtSeg
{
@ -94,6 +96,7 @@ namespace OsrmMappingTypes {
};
#pragma pack (pop)
}
class OsrmFtSegMapping;
class OsrmFtSegBackwardIndex