diff options
Diffstat (limited to 'source/API/SBModuleSpec.cpp')
-rw-r--r-- | source/API/SBModuleSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/API/SBModuleSpec.cpp b/source/API/SBModuleSpec.cpp index 654a8ca6ec86..17c83abb4f24 100644 --- a/source/API/SBModuleSpec.cpp +++ b/source/API/SBModuleSpec.cpp @@ -44,7 +44,7 @@ SBModuleSpec::~SBModuleSpec () bool SBModuleSpec::IsValid () const { - return *m_opaque_ap; + return m_opaque_ap->operator bool(); } void |