mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 14:20:45 +01:00

When configuring without protobuf this test fails to compile with the error: perf_test_histogram_writer_no_protobuf.cc:20:1: error: non-void function does not return a value Bug: None Change-Id: I8e2676ee4b5284eac08e648fc43bdfc585fc5d64 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182740 Reviewed-by: Taylor <deadbeef@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Taylor <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32021}
23 lines
761 B
C++
23 lines
761 B
C++
/*
|
|
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "test/testsupport/perf_test_histogram_writer.h"
|
|
|
|
namespace webrtc {
|
|
namespace test {
|
|
|
|
PerfTestResultWriter* CreateHistogramWriter() {
|
|
RTC_NOTREACHED() << "Cannot run perf tests with rtc_enable_protobuf = false. "
|
|
"Perf write results as protobufs.";
|
|
return nullptr;
|
|
}
|
|
|
|
} // namespace test
|
|
} // namespace webrtc
|