Skip to content

Commit b633d89

Browse files
committed
Houdini : Avoid deprecation warnings.
This is required now that we're compiling with -Werror
1 parent 1a3b169 commit b633d89

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/IECoreHoudini/OBJ_SceneCacheGeometry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//
3333
//////////////////////////////////////////////////////////////////////////
3434

35-
#include "UT/UT_PtrArray.h"
35+
#include "UT/UT_ValArray.h"
3636
#include "UT/UT_Version.h"
3737

3838
#include "IECoreHoudini/OBJ_SceneCacheGeometry.h"
@@ -119,7 +119,7 @@ void OBJ_SceneCacheGeometry::pushToHierarchy()
119119
getFullPathName( fullPathName );
120120
GeometryType geomType = getGeometryType();
121121

122-
UT_PtrArray<OP_Node*> children;
122+
UT_ValArray<OP_Node*> children;
123123
int numSceneSops = getOpsByName( SOP_SceneCacheSource::typeName, children );
124124
for ( int i=0; i < numSceneSops; ++i )
125125
{

src/IECoreHoudini/OBJ_SceneCacheTransform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
#include "PRM/PRM_ChoiceList.h"
4444
#include "UT/UT_Interrupt.h"
45-
#include "UT/UT_PtrArray.h"
45+
#include "UT/UT_ValArray.h"
4646

4747
#include "IECoreHoudini/OBJ_SceneCacheGeometry.h"
4848
#include "IECoreHoudini/OBJ_SceneCacheTransform.h"
@@ -383,7 +383,7 @@ void OBJ_SceneCacheTransform::pushToHierarchy()
383383
getTagFilter( tagFilterStr );
384384
tagFilter.compile( tagFilterStr );
385385

386-
UT_PtrArray<OP_Node*> children;
386+
UT_ValArray<OP_Node*> children;
387387
int numSceneNodes = getOpsByName( OBJ_SceneCacheTransform::typeName, children );
388388
for ( int i=0; i < numSceneNodes; ++i )
389389
{

src/IECoreHoudini/ROP_SceneCacheWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#include "ROP/ROP_Error.h"
4646
#include "SOP/SOP_Node.h"
4747
#include "UT/UT_Interrupt.h"
48-
#include "UT/UT_PtrArray.h"
48+
#include "UT/UT_ValArray.h"
4949
#include "UT/UT_StringMMPattern.h"
5050

5151
#include "IECoreScene/LinkedScene.h"
@@ -194,7 +194,7 @@ int ROP_SceneCacheWriter::startRender( int nframes, fpreal s, fpreal e )
194194
OP_Bundle *bundle = getParmBundle( pForceObjects.getToken(), 0, forceObjects, baseNode, data->getOpFilter() );
195195

196196
// add all of the parent nodes
197-
UT_PtrArray<OP_Node *> nodes;
197+
UT_ValArray<OP_Node *> nodes;
198198
bundle->getMembers( nodes );
199199
size_t numNodes = nodes.entries();
200200
for ( size_t i = 0; i < numNodes; ++i )

0 commit comments

Comments
 (0)