projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0030588: Coding - avoid calling operator->() on NULL Handle
[occt.git]
/
src
/
OpenGl
/
OpenGl_PrimitiveArray.cxx
diff --git
a/src/OpenGl/OpenGl_PrimitiveArray.cxx
b/src/OpenGl/OpenGl_PrimitiveArray.cxx
index
30f7cd2
..
cec64bb
100644
(file)
--- a/
src/OpenGl/OpenGl_PrimitiveArray.cxx
+++ b/
src/OpenGl/OpenGl_PrimitiveArray.cxx
@@
-1104,7
+1104,7
@@
void OpenGl_PrimitiveArray::InitBuffers (const Handle(OpenGl_Context)& th
const Handle(Graphic3d_BoundBuffer)& theBounds)
{
// Release old graphic resources
- Release (theContext.
operator->
());
+ Release (theContext.
get
());
myIndices = theIndices;
myAttribs = theAttribs;