Kaydet (Commit) 22730b9f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

The unused source_arena arg to alloc/freeExec can just be null

Change-Id: I16f8a9e8f421215fe5d392ba3f1f304618d70174
üst 2b5cbaea
...@@ -179,7 +179,7 @@ VtableFactory::VtableFactory(): m_arena( ...@@ -179,7 +179,7 @@ VtableFactory::VtableFactory(): m_arena(
rtl_arena_create( rtl_arena_create(
"bridges::cpp_uno::shared::VtableFactory", "bridges::cpp_uno::shared::VtableFactory",
sizeof (void *), // to satisfy alignment requirements sizeof (void *), // to satisfy alignment requirements
0, reinterpret_cast< rtl_arena_type * >(-1), allocExec, freeExec, 0)) 0, nullptr, allocExec, freeExec, 0))
{ {
if (m_arena == 0) { if (m_arena == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment