Skip to content

There is performance inefficiency found by coverity tool json2.1.1/include/nlohmann/json.hpp #673

Closed
@qinglucich

Description

4063 @SInCE version 1.0.0
4064 */
4065 template<class ValueType, typename std::enable_if<
4066 std::is_convertible<basic_json_t, ValueType>::value, int>::type = 0>

CID 10413 (#1 of 1): Big parameter passed by value (PASS_BY_VALUE)
pass_by_value: Passing parameter default_value of type cerebras::file_metadata (size 168 bytes) by value.
4067 ValueType value(const typename object_t::key_type& key, ValueType default_value) const
4068 {

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions