aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorA. Maitland Bottoms <bottoms@debian.org>2021-10-20 10:09:42 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-10-22 06:35:44 -0700
commit606230b3a0b1db35da8a499ac1f24fa4f8014760 (patch)
tree2e5dc7f2c11862a85f2c6a4961d53d2916fc9589 /host
parent81ac62f79129a447e128c3991eeb59a65056d50c (diff)
downloaduhd-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.hpp2
-rw-r--r--host/include/uhd/property_tree.ipp2
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 */
}