]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/double.cpp
Don't use deprecated headers.
[pulseview.git] / pv / prop / double.cpp
index c5ab1db4e28b5a83b98f33f030fc0124b4bef727..eeb13fdd37e8e366011a0da1fafe14fd72cef77f 100644 (file)
  * 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/>.
  */
 
-#include <assert.h>
+#include <cassert>
 
 #include <QDoubleSpinBox>
 
@@ -46,10 +45,6 @@ Double::Double(QString name,
 {
 }
 
-Double::~Double()
-{
-}
-
 QWidget* Double::get_widget(QWidget *parent, bool auto_commit)
 {
        if (spin_box_)