Skip to content

Commit fe926c2

Browse files
committed
Remove the comments
1 parent c791128 commit fe926c2

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

include/extractor/edge_based_graph_factory.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ struct TurnIndexBlock
4444
NodeID to_id;
4545
};
4646
#pragma pack(pop)
47-
// Note: Conditions are split into separate static_asserts to avoid
48-
// clang-tidy misc-redundant-expression warning.
4947
static_assert(std::is_trivially_default_constructible<TurnIndexBlock>::value,
5048
"TurnIndexBlock must be trivially default constructible.");
5149
static_assert(std::is_trivially_copyable<TurnIndexBlock>::value,

include/util/coordinate.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ using FloatLongitude = Alias<double, tag::longitude>;
6868
// range checks on these (toFixed/toFloat, etc)
6969
using UnsafeFloatLatitude = Alias<double, tag::unsafelatitude>;
7070
using UnsafeFloatLongitude = Alias<double, tag::unsafelongitude>;
71-
// Note: Conditions are split into separate static_asserts to avoid
72-
// clang-tidy misc-redundant-expression warning.
7371
static_assert(std::is_standard_layout<FixedLatitude>(), "FixedLatitude must have standard layout.");
7472
static_assert(std::is_trivially_default_constructible<FixedLatitude>(),
7573
"FixedLatitude must be trivially default constructible.");

include/util/fingerprint.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ struct FingerPrint
3232
};
3333

3434
static_assert(sizeof(FingerPrint) == 8, "FingerPrint has unexpected size");
35-
// Note: Conditions are split into separate static_asserts to avoid
36-
// clang-tidy misc-redundant-expression warning.
3735
static_assert(std::is_trivially_default_constructible<FingerPrint>::value,
3836
"FingerPrint needs to be trivially default constructible.");
3937
static_assert(std::is_trivially_copyable<FingerPrint>::value,

include/util/typedefs.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,12 @@ struct turn_penalty
6969
} // namespace tag
7070

7171
using OSMNodeID = osrm::Alias<std::uint64_t, tag::osm_node_id>;
72-
// Note: Conditions are split into separate static_asserts to avoid
73-
// clang-tidy misc-redundant-expression warning.
7472
static_assert(std::is_standard_layout<OSMNodeID>(), "OSMNodeID must have standard layout.");
7573
static_assert(std::is_trivially_default_constructible<OSMNodeID>(),
7674
"OSMNodeID must be trivially default constructible.");
7775
static_assert(std::is_trivially_copyable<OSMNodeID>(), "OSMNodeID must be trivially copyable.");
7876

7977
using OSMWayID = osrm::Alias<std::uint64_t, tag::osm_way_id>;
80-
// Note: Conditions are split into separate static_asserts to avoid
81-
// clang-tidy misc-redundant-expression warning.
8278
static_assert(std::is_standard_layout<OSMWayID>(), "OSMWayID must have standard layout.");
8379
static_assert(std::is_trivially_default_constructible<OSMWayID>(),
8480
"OSMWayID must be trivially default constructible.");

0 commit comments

Comments
 (0)