Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Butz
VTK
Commits
8efe833a
Commit
8efe833a
authored
Nov 27, 2015
by
Mathieu Westphal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initializing class members to avoid warnings
parent
f4551744
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Utilities/Python/vtkPython.h
Utilities/Python/vtkPython.h
+3
-0
No files found.
Utilities/Python/vtkPython.h
View file @
8efe833a
...
...
@@ -140,8 +140,10 @@ class vtkPythonScopeGilEnsurer
{
public:
vtkPythonScopeGilEnsurer
(
bool
force
=
false
)
:
State
(
PyGILState_UNLOCKED
)
{
#ifdef VTK_PYTHON_FULL_THREADSAFE
// Force is always true with FULL_THREADSAFE
force
=
true
;
#endif
this
->
Force
=
force
;
...
...
@@ -161,6 +163,7 @@ public:
private:
PyGILState_STATE
State
;
bool
Force
;
vtkPythonScopeGilEnsurer
(
const
vtkPythonScopeGilEnsurer
&
);
// Not implemented.
void
operator
=
(
const
vtkPythonScopeGilEnsurer
&
);
// Not implemented.
};
...
...
Write
Preview
Markdown
is supported
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