diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-11-23 09:37:03 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-28 12:17:12 -0800 |
commit | f00463d2c39185d70eeef8772de74e3a68f26843 (patch) | |
tree | f98c75905b5e3940986c027f6317c8ad59eb8893 | |
parent | e40ea4f2b8739cc105680e6c06b2ff6d060aabe5 (diff) | |
download | uhd-f00463d2c39185d70eeef8772de74e3a68f26843.tar.gz uhd-f00463d2c39185d70eeef8772de74e3a68f26843.tar.bz2 uhd-f00463d2c39185d70eeef8772de74e3a68f26843.zip |
rfnoc: Matched signatures for clear()
-rw-r--r-- | host/include/uhd/rfnoc/block_ctrl_base.hpp | 2 | ||||
-rw-r--r-- | host/lib/rfnoc/block_ctrl_base.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/rfnoc/block_ctrl_base.hpp b/host/include/uhd/rfnoc/block_ctrl_base.hpp index 725f0d966..f770cf129 100644 --- a/host/include/uhd/rfnoc/block_ctrl_base.hpp +++ b/host/include/uhd/rfnoc/block_ctrl_base.hpp @@ -306,7 +306,7 @@ public: * * TODO: Find better name (it disconnects, clears FC...) */ - void clear(const size_t port = 0/* reserved, currently not used */); + void clear(); /*********************************************************************** * Argument handling diff --git a/host/lib/rfnoc/block_ctrl_base.cpp b/host/lib/rfnoc/block_ctrl_base.cpp index c273fa76b..a4e7cb391 100644 --- a/host/lib/rfnoc/block_ctrl_base.cpp +++ b/host/lib/rfnoc/block_ctrl_base.cpp @@ -409,7 +409,7 @@ void block_ctrl_base::clear_command_time(const size_t port) iface_sptr->set_time(time_spec_t(0.0)); } -void block_ctrl_base::clear(const size_t /* port */) +void block_ctrl_base::clear() { UHD_RFNOC_BLOCK_TRACE() << "block_ctrl_base::clear() " << std::endl; // Call parent... |