From 606230b3a0b1db35da8a499ac1f24fa4f8014760 Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Wed, 20 Oct 2021 10:09:42 -0500 Subject: 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! --- host/include/uhd/property_tree.hpp | 2 +- host/include/uhd/property_tree.ipp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'host/include') 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 publisher_type; typedef std::function coercer_type; - virtual ~property(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(void) + ~property_impl(void) { /* NOP */ } -- cgit v1.2.3