diff options
Diffstat (limited to 'source/Core/ValueObjectConstResult.cpp')
-rw-r--r-- | source/Core/ValueObjectConstResult.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/ValueObjectConstResult.cpp b/source/Core/ValueObjectConstResult.cpp index e8b477a..b4e6303 100644 --- a/source/Core/ValueObjectConstResult.cpp +++ b/source/Core/ValueObjectConstResult.cpp @@ -259,7 +259,7 @@ ValueObjectConstResult::GetByteSize() ExecutionContext exe_ctx(GetExecutionContextRef()); if (m_byte_size == 0) - SetByteSize(GetClangType().GetByteSize(&exe_ctx)); + SetByteSize(GetClangType().GetByteSize(exe_ctx.GetBestExecutionContextScope())); return m_byte_size; } |