Skip to content

Commit

Permalink
[onert] Add override to setMinMaxRecordsThreshold (#14499)
Browse files Browse the repository at this point in the history
This commit add override keyword to Quantizer::setMinMaxRecordsThreshold.
It will fix build fail on clang.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
  • Loading branch information
hseok-oh authored Dec 27, 2024
1 parent be044d1 commit 9629003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/onert/odc/Quantizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Quantizer : public IQuantizer
/**
* @brief Set the number of minmax records enough for quantization
*/
void setMinMaxRecordsThreshold(uint32_t value) { _minmax_threshold = value; };
void setMinMaxRecordsThreshold(uint32_t value) override { _minmax_threshold = value; };

/**
* @brief Checking the number of minmax records enough for quantization (comparison with
Expand Down

0 comments on commit 9629003

Please sign in to comment.