From dcf571820ae62d092a6aae65338f8c77681bd925 Mon Sep 17 00:00:00 2001 From: Jakub Racek Date: Mon, 14 Oct 2024 12:24:54 +0200 Subject: [PATCH] remove redundant formatters --- reducer/otlp_grpc_publisher.cc | 2 -- util/nomad_metadata.cc | 2 -- 2 files changed, 4 deletions(-) diff --git a/reducer/otlp_grpc_publisher.cc b/reducer/otlp_grpc_publisher.cc index 32ace0b4..4e5dbcf9 100644 --- a/reducer/otlp_grpc_publisher.cc +++ b/reducer/otlp_grpc_publisher.cc @@ -11,8 +11,6 @@ #include #include -template <> struct fmt::formatter : fmt::ostream_formatter { -}; namespace reducer { OtlpGrpcPublisher::OtlpGrpcPublisher(size_t num_writer_threads, const std::string &server_address_and_port) diff --git a/util/nomad_metadata.cc b/util/nomad_metadata.cc index 842f2884..112f9f8d 100644 --- a/util/nomad_metadata.cc +++ b/util/nomad_metadata.cc @@ -11,8 +11,6 @@ #include -template <> struct fmt::formatter> : fmt::ostream_formatter {}; - const std::string NOMAD_NAMESPACE_VAR = "NOMAD_NAMESPACE"; const std::string NOMAD_GROUP_NAME_VAR = "NOMAD_GROUP_NAME"; const std::string NOMAD_TASK_NAME_VAR = "NOMAD_TASK_NAME";