Skip to content

fix coverity scan issue CID 1529754#28195

Merged
wangleis merged 1 commit intoopenvinotoolkit:masterfrom
wangleis:fix_CID_1529754
Dec 26, 2024
Merged

fix coverity scan issue CID 1529754#28195
wangleis merged 1 commit intoopenvinotoolkit:masterfrom
wangleis:fix_CID_1529754

Conversation

@wangleis
Copy link
Copy Markdown
Contributor

Details:

  • item1

CID 1529754: (#1 of 1): COPY_INSTEAD_OF_MOVE (COPY_INSTEAD_OF_MOVE)

  1. copy_constructor_call: node_info_table is passed-by-value as parameter to parse_freq_info_linux when it could be moved instead.
    Use std::move(node_info_table) instead of node_info_table.
    221 node_info_table,
    222 _processors,
    223 _numa_nodes,
    224 _sockets,
    225 _cores,
    226 _proc_type_table,
    227 _cpu_mapping_table);

Tickets:

  • ticket-id

@wangleis wangleis requested a review from a team as a code owner December 24, 2024 12:27
@github-actions github-actions bot added the category: inference OpenVINO Runtime library - Inference label Dec 24, 2024
@dmitry-gorokhov dmitry-gorokhov added this to the 2025.0 milestone Dec 26, 2024
@wangleis wangleis added this pull request to the merge queue Dec 26, 2024
Merged via the queue into openvinotoolkit:master with commit 25c6025 Dec 26, 2024
@wangleis wangleis deleted the fix_CID_1529754 branch December 26, 2024 08:10
MirceaDan99 pushed a commit to MirceaDan99/openvino that referenced this pull request Jan 22, 2025
### Details:
 - *item1*
	
CID 1529754: (openvinotoolkit#1 of 1): COPY_INSTEAD_OF_MOVE (COPY_INSTEAD_OF_MOVE)
1. copy_constructor_call: node_info_table is passed-by-value as
parameter to parse_freq_info_linux when it could be moved instead.
     	Use std::move(node_info_table) instead of node_info_table.
221                                  node_info_table,
222                                  _processors,
223                                  _numa_nodes,
224                                  _sockets,
225                                  _cores,
226                                  _proc_type_table,
227                                  _cpu_mapping_table);

### Tickets:
 - *ticket-id*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: inference OpenVINO Runtime library - Inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants