Skip to content

Commit

Permalink
Add missing typename specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Sep 29, 2022
1 parent f9683f1 commit 954edbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataFormats/SoATemplate/interface/SoACommon.h
Expand Up @@ -390,7 +390,7 @@ namespace cms::soa {
}

using ValueType = typename C::Scalar;
static constexpr auto valueSize = sizeof(C::Scalar);
static constexpr auto valueSize = sizeof(typename C::Scalar);
SOA_HOST_DEVICE SOA_INLINE byte_size_type stride() const { return stride_; }

private:
Expand Down Expand Up @@ -503,7 +503,7 @@ namespace cms::soa {
SOA_HOST_DEVICE SOA_INLINE const C* operator&() const { return &cVal_; }

using ValueType = typename C::Scalar;
static constexpr auto valueSize = sizeof(C::Scalar);
static constexpr auto valueSize = sizeof(typename C::Scalar);

SOA_HOST_DEVICE SOA_INLINE byte_size_type stride() const { return stride_; }

Expand Down

0 comments on commit 954edbc

Please sign in to comment.