Skip to content

Investigate and fix address of temporary warnings #369

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions