]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/enum.hpp
Don't use deprecated headers.
[pulseview.git] / pv / prop / enum.hpp
index 63f78af0d272c89215c1b770fa40a5a1b0c59bab..7216508ca75fcf1f3590fa8febea78b681eb498c 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_PROP_ENUM_HPP
@@ -43,7 +42,7 @@ public:
        Enum(QString name, std::vector<std::pair<Glib::VariantBase, QString> > values,
                Getter getter, Setter setter);
 
-       virtual ~Enum();
+       virtual ~Enum() = default;
 
        QWidget* get_widget(QWidget *parent, bool auto_commit);