Skip to content

Commit 91314b4

Browse files
vepadulanodpiparo
authored andcommitted
[vecops] declare constexpr data member also static
As per C++ standard.
1 parent cfdaff9 commit 91314b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/vecops/inc/ROOT/RVec.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ template <typename T>
512512
struct RVecInlineStorageSize {
513513
private:
514514
#ifdef R__HAS_HARDWARE_INTERFERENCE_SIZE
515-
constexpr std::size_t cacheLineSize = std::hardware_destructive_interference_size;
515+
static constexpr std::size_t cacheLineSize = std::hardware_destructive_interference_size;
516516
#else
517517
// safe bet: assume the typical 64 bytes
518518
static constexpr std::size_t cacheLineSize = 64;

0 commit comments

Comments
 (0)