From 8359014e2b0a32cb375e58c229dfe7b62a5629aa Mon Sep 17 00:00:00 2001 From: owent Date: Thu, 16 Mar 2023 14:37:52 +0800 Subject: [PATCH] Remove useless `ForceFlush`. Signed-off-by: owent --- .../exporters/memory/in_memory_span_exporter.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/exporters/memory/include/opentelemetry/exporters/memory/in_memory_span_exporter.h b/exporters/memory/include/opentelemetry/exporters/memory/in_memory_span_exporter.h index 9861294229..27efae379b 100644 --- a/exporters/memory/include/opentelemetry/exporters/memory/in_memory_span_exporter.h +++ b/exporters/memory/include/opentelemetry/exporters/memory/in_memory_span_exporter.h @@ -65,13 +65,6 @@ class InMemorySpanExporter final : public opentelemetry::sdk::trace::SpanExporte return sdk::common::ExportResult::kSuccess; } - /** - * Force flush the exporter. - * @param timeout an option timeout, default to max. - * @return return true when all data are exported, and false when timeout - */ - bool ForceFlush(std::chrono::microseconds /* timeout */) noexcept override { return true; } - /** * @param timeout an optional value containing the timeout of the exporter * note: passing custom timeout values is not currently supported for this exporter