Skip to content

Make flatbuffers::GetTemporaryPointer take const FlatbufferBuilder #8100

@Lukasdoe

Description

@Lukasdoe

There exists a flatbuffers::GetTemporaryPointer and flatbuffers::GetMutableTemporaryPointer. The former giving a const T* and the latter returning a T*. However, their input parameters are the same. You do need to input a mutable FlatbufferBuilder instance (non-const) to GetTemporaryPointer even though it is never mutated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions