From 7e59d264f10e65bae600a91d9fefe57ea966265a Mon Sep 17 00:00:00 2001 From: Tommi Date: Tue, 2 Jul 2024 11:45:47 +0200 Subject: [PATCH] Remove unused istream code in test_utils. Bug: webrtc:8982 Change-Id: I52cf9778581190399de8e2068e4a1cd03c97fb3f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356140 Auto-Submit: Tomas Gunnarsson Commit-Queue: Mirko Bonadei Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#42569} --- modules/audio_processing/test/test_utils.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/modules/audio_processing/test/test_utils.h b/modules/audio_processing/test/test_utils.h index 04e980fb64..cc36f9a799 100644 --- a/modules/audio_processing/test/test_utils.h +++ b/modules/audio_processing/test/test_utils.h @@ -16,7 +16,6 @@ #include #include #include -#include // no-presubmit-check TODO(webrtc:8982) #include #include @@ -149,22 +148,6 @@ float ComputeSNR(const T* ref, const T* test, size_t length, float* variance) { return snr; } -// Returns a vector parsed from whitespace delimited values in to_parse, -// or an empty vector if the string could not be parsed. -template -std::vector ParseList(absl::string_view to_parse) { - std::vector values; - - std::istringstream str( // no-presubmit-check TODO(webrtc:8982) - std::string{to_parse}); - std::copy( - std::istream_iterator(str), // no-presubmit-check TODO(webrtc:8982) - std::istream_iterator(), // no-presubmit-check TODO(webrtc:8982) - std::back_inserter(values)); - - return values; -} - } // namespace webrtc #endif // MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_