From a7b3c3e1e8568547858fc656e343b557eed33ac6 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 8 Apr 2024 17:53:10 +0200 Subject: [PATCH] refactor: remove some dead code --- include/thespian/c/trace.h | 1 - include/thespian/trace.hpp | 1 - src/c/trace.cpp | 3 --- 3 files changed, 5 deletions(-) diff --git a/include/thespian/c/trace.h b/include/thespian/c/trace.h index 7d73bdb..b267600 100644 --- a/include/thespian/c/trace.h +++ b/include/thespian/c/trace.h @@ -32,7 +32,6 @@ void thespian_on_trace(thespian_trace_handler); void thespian_trace_to_json_file(const char *file_name); void thespian_trace_to_cbor_file(const char *file_name); void thespian_trace_to_mermaid_file(const char *file_name); -void thespian_trace_to_trace(thespian_trace_channel default_channel); #ifdef __cplusplus } diff --git a/include/thespian/trace.hpp b/include/thespian/trace.hpp index bc4497e..18171c9 100644 --- a/include/thespian/trace.hpp +++ b/include/thespian/trace.hpp @@ -32,6 +32,5 @@ auto on_trace(trace_handler) -> trace_handler; auto trace_to_json_file(const std::string &file_name) -> void; auto trace_to_cbor_file(const std::string &file_name) -> void; auto trace_to_mermaid_file(const std::string &file_name) -> void; -auto trace_to_trace(int default_channel) -> void; } // namespace thespian diff --git a/src/c/trace.cpp b/src/c/trace.cpp index f541a7e..7daa731 100644 --- a/src/c/trace.cpp +++ b/src/c/trace.cpp @@ -19,7 +19,4 @@ void thespian_trace_to_mermaid_file(const char *file_name) { thespian::trace_to_mermaid_file(file_name); } -void thespian_trace_to_trace(thespian_trace_channel default_channel) { - thespian::trace_to_trace(default_channel); -} }