diff options
author | A. Maitland Bottoms <bottoms@debian.org> | 2021-10-20 10:09:42 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-10-22 06:35:44 -0700 |
commit | 606230b3a0b1db35da8a499ac1f24fa4f8014760 (patch) | |
tree | 2e5dc7f2c11862a85f2c6a4961d53d2916fc9589 /host | |
parent | 81ac62f79129a447e128c3991eeb59a65056d50c (diff) | |
download | uhd-606230b3a0b1db35da8a499ac1f24fa4f8014760.tar.gz uhd-606230b3a0b1db35da8a499ac1f24fa4f8014760.tar.bz2 uhd-606230b3a0b1db35da8a499ac1f24fa4f8014760.zip |
uhd: Remove spurious template from property dtor
C++ syntax cleanup. g++ 11 is now more picky about syntax, and flags
errors rather than ignores use of template-id for a destructor.
Thanks to mait for these fixes!
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/property_tree.hpp | 2 | ||||
-rw-r--r-- | host/include/uhd/property_tree.ipp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/property_tree.hpp b/host/include/uhd/property_tree.hpp index bbe3e24e1..b9c6c65aa 100644 --- a/host/include/uhd/property_tree.hpp +++ b/host/include/uhd/property_tree.hpp @@ -72,7 +72,7 @@ public: typedef std::function<T(void)> publisher_type; typedef std::function<T(const T&)> coercer_type; - virtual ~property<T>(void) = 0; + virtual ~property(void) = 0; /*! * Register a coercer into the property. diff --git a/host/include/uhd/property_tree.ipp b/host/include/uhd/property_tree.ipp index d0e127c5d..b1b95c2c8 100644 --- a/host/include/uhd/property_tree.ipp +++ b/host/include/uhd/property_tree.ipp @@ -28,7 +28,7 @@ public: } } - ~property_impl<T>(void) + ~property_impl(void) { /* NOP */ } |