Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bill Lorensen
VTK
Commits
b22181b3
Commit
b22181b3
authored
Apr 27, 2012
by
Philippe Pébay
Browse files
Use smart pointers for testing
Change-Id: Icb7daf45af84dfae12f9ac51b0022dfe01badd22
parent
fbbc6c97
Changes
1
Show whitespace changes
Inline
Side-by-side
Filters/HyperTree/Testing/Cxx/TestHyperTreeGrid.cxx
View file @
b22181b3
...
...
@@ -128,7 +128,7 @@ int TestHyperTreeGrid( int argc, char* argv[] )
int
testIntValue
=
0
;
// Create hyper tree grid source
vtkHyperTreeGridSource
*
fractal
=
vtkHyperTreeGridSource
::
New
()
;
vtkNew
<
vtkHyperTreeGridSource
>
fractal
;
fractal
->
SetMaximumLevel
(
3
);
fractal
->
DualOn
();
if
(
dim
==
3
)
...
...
@@ -213,8 +213,5 @@ int TestHyperTreeGrid( int argc, char* argv[] )
writer3
->
Write
();
}
// Clean up
fractal
->
Delete
();
return
testIntValue
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment