Jsonify water boiling and other temperature effects on the item #83683
Annotations
5 errors
run clang-tidy:
src/item_factory.cpp#L2694
Parameter 'src' of 'load_temperature_effects' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
|
run clang-tidy:
src/item_factory.cpp#L2694
unused parameter 'src' [clang-diagnostic-unused-parameter,-warnings-as-errors]
|
run clang-tidy:
src/item_factory.cpp#L2694
parameter 'src' is unused [misc-unused-parameters,-warnings-as-errors]
|
run clang-tidy:
src/item_factory.cpp#L2700
the type of the loop variable 'tejo' is different from the one returned by the iterator and generates an implicit conversion; you can either change the type to the matching one ('const JsonValue &' but 'const auto&' is always a valid option) or remove the reference to make it explicit that you are creating a new value [performance-implicit-conversion-in-loop,-warnings-as-errors]
|
run clang-tidy
Process completed with exit code 123.
|
Loading