Skip to content

Commit b17c20b

Browse files
authored
Merge pull request #132 from alibuild/alibot-cleanup-15238
2 parents 75cf2db + 3fa72fe commit b17c20b

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

Common/MathUtils/include/MathUtils/Cartesian.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ GPUdi() SMatrix<T, D1, D1, MatRepSym<T, D1>> Similarity(const SMatrix<T, D1, D2,
284284
#if (!defined(GPUCA_STANDALONE) || !defined(DGPUCA_NO_ROOT)) && !defined(GPUCA_GPUCODE) && !defined(GPUCOMMONRTYPES_H_ACTIVE)
285285
std::ostream& operator<<(std::ostream& os, const o2::math_utils::Rotation2Df_t& t);
286286
std::ostream& operator<<(std::ostream& os, const o2::math_utils::Rotation2Dd_t& t);
287-
namespace o2::framework {
287+
namespace o2::framework
288+
{
288289
template <typename T>
289290
struct is_forced_trivially_copyable;
290291

Detectors/DCS/include/DetectorsDCS/DataPointCompositeObject.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ struct is_messageable<o2::dcs::DataPointCompositeObject> : std::true_type {
312312
} // namespace o2
313313

314314
/// Defining DataPointCompositeObject explicitly as copiable
315-
namespace o2::framework {
315+
namespace o2::framework
316+
{
316317
template <typename T>
317318
struct is_forced_trivially_copyable;
318319

Detectors/DCS/include/DetectorsDCS/DataPointIdentifier.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ struct hash<o2::dcs::DataPointIdentifier> {
244244
}
245245
};
246246
} // namespace std
247-
namespace o2::framework {
247+
namespace o2::framework
248+
{
248249
template <typename T>
249250
struct is_forced_trivially_copyable;
250251

Framework/Core/include/Framework/TypeTraits.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ struct is_forced_non_messageable<
3939
};
4040

4141
template <typename T>
42-
struct is_forced_trivially_copyable: std::false_type {
42+
struct is_forced_trivially_copyable : std::false_type {
4343
};
4444

4545
// TODO: extend this to exclude structs with pointer data members
4646
// see e.g. https://stackoverflow.com/questions/32880990/how-to-check-if-class-has-pointers-in-c14
4747
template <typename T>
48-
struct is_messageable : std::conditional<(std::is_trivially_copyable<T>::value || //
48+
struct is_messageable : std::conditional<(std::is_trivially_copyable<T>::value || //
4949
framework::is_forced_trivially_copyable<T>::value) && //
50-
!std::is_polymorphic<T>::value && //
51-
!std::is_pointer<T>::value && //
52-
!is_forced_non_messageable<T>::value, //
50+
!std::is_polymorphic<T>::value && //
51+
!std::is_pointer<T>::value && //
52+
!is_forced_non_messageable<T>::value, //
5353
std::true_type,
5454
std::false_type>::type {
5555
};

0 commit comments

Comments
 (0)