Skip to content

Commit e71c19e

Browse files
committed
Annotate ~PyDataTable with override, add NOLINT to read_element
1 parent c35970e commit e71c19e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/morpheus/morpheus/_lib/include/morpheus/objects/python_data_table.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct PyDataTable : public IDataTable
4444
* @param py_table
4545
*/
4646
PyDataTable(pybind11::object&& py_table);
47-
~PyDataTable();
47+
~PyDataTable() override;
4848

4949
/**
5050
* @brief cuDF table rows count

python/morpheus/morpheus/_lib/include/morpheus/objects/tensor_object.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ struct TensorObject final
294294
}
295295

296296
template <typename T, RankType N>
297-
T read_element(const TensorIndex (&idx)[N]) const
297+
T read_element(const TensorIndex (&idx)[N]) const // NOLINT(modernize-avoid-c-arrays)
298298
{
299299
auto stride = this->get_stride();
300300
auto shape = this->get_shape();

0 commit comments

Comments
 (0)