mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
#1584 Replace cvf::vec3d[8] with std::array<cvf::vec3d, 8>
This commit is contained in:
1 parent
7b34d7f103
commit
da69eef72b
43 files changed
+150
-126
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user