Skip to content

Investigate and fix address of temporary warnings #369

@frankosterfeld

Description

@frankosterfeld

Clang gives two legit warnings about using addresses of temporaries:

  1. CtxSetting::get() returns { NullTimingCtx, settings::node<T>(T{}) } when nothing is found, the second parameter is stored as const reference.

  2. In IoSerialiserYAS.cpp, deserialise() contains

.fieldName         = fmt::format("{}[{}]", field.fieldName, i),

Here fieldName is a std::string_view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions