#1584 Replace cvf::vec3d[8] with std::array<cvf::vec3d, 8>

This commit is contained in:
Kristian Bendiksen committed 2025-09-03 14:21:19 +02:00
1 parent 7b34d7f103
commit da69eef72b
43 files changed
+150 -126

No files matched your search

+3 -1
View File
@@ -26,6 +26,8 @@
#include "RimEclipseCase.h"
#include <array>
using namespace rips;
//--------------------------------------------------------------------------------------------------
@@ -102,7 +104,7 @@ grpc::Status RiaCellCenterStateHandler::assignCornersReply( rips::CellCornersArr
size_t indexInPackage = 0u;
reply->mutable_cells()->Reserve( (int)packageSize );
cvf::Vec3d cornerVerts[8];
std::array<cvf::Vec3d, 8> cornerVerts;
for ( ; indexInPackage < packageSize && m_currentCellIdx < m_grid->cellCount(); ++indexInPackage )
{
m_grid->cellCornerVertices( m_currentCellIdx, cornerVerts );