From 02c6e85a988149a2ee5d3f54e5120b664c5d6716 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 29 Dec 2017 07:00:19 +0100 Subject: Shorten TII name() printout --- src/TII.cpp | 12 +++--------- src/TII.h | 4 ---- 2 files changed, 3 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/TII.cpp b/src/TII.cpp index 446d9c6..89cd6d0 100644 --- a/src/TII.cpp +++ b/src/TII.cpp @@ -160,20 +160,14 @@ TII::TII(unsigned int dabmode, const tii_config_t& tii_config, unsigned phase) : prepare_pattern(); } - -TII::~TII() -{ - PDEBUG("TII::~TII() @ %p\n", this); -} - const char* TII::name() { // Calculate name on demand because comb and pattern are // modifiable through RC std::stringstream ss; - ss << "TII(comb:" << m_conf.comb << - ", pattern:" << m_conf.pattern << - ", variant:" << (m_conf.old_variant ? "old" : "new") << ")"; + ss << "TII(c:" << m_conf.comb << + " p:" << m_conf.pattern << + " vrnt:" << (m_conf.old_variant ? "old" : "new") << ")"; m_name = ss.str(); return m_name.c_str(); diff --git a/src/TII.h b/src/TII.h index 4c5c605..b0ffdb3 100644 --- a/src/TII.h +++ b/src/TII.h @@ -84,9 +84,6 @@ class TII : public ModCodec, public RemoteControllable { public: TII(unsigned int dabmode, const tii_config_t& tii_config, unsigned phase); - virtual ~TII(); - TII(const TII&) = delete; - TII& operator=(const TII&) = delete; int process(Buffer* dataIn, Buffer* dataOut); const char* name(); @@ -128,4 +125,3 @@ class TII : public ModCodec, public RemoteControllable std::vector m_enabled_carriers; }; - -- cgit v1.2.3