Source release 14.1.0
This commit is contained in:
@@ -72,7 +72,7 @@ class ValueMetric {
|
||||
|
||||
// Returns a new ValueMetric proto containing the metric value or the
|
||||
// error code. If neither the error or value are set, it returns nullptr.
|
||||
drm_metrics::ValueMetric *ToProto() {
|
||||
drm_metrics::ValueMetric *ToProto() const {
|
||||
if (has_error_) {
|
||||
drm_metrics::ValueMetric *value_proto = new drm_metrics::ValueMetric;
|
||||
value_proto->set_error_code(error_code_);
|
||||
|
||||
Reference in New Issue
Block a user