]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/bool.cpp
Don't use deprecated headers.
[pulseview.git] / pv / prop / bool.cpp
index 3e201cc4c6a1ffc8bdec2b940a8686fef9dc5e94..9df12a0ff48208f734c78d38314d3a5bcc28acd9 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 <QCheckBox>
 
@@ -33,10 +32,6 @@ Bool::Bool(QString name, Getter getter, Setter setter) :
 {
 }
 
-Bool::~Bool()
-{
-}
-
 QWidget* Bool::get_widget(QWidget *parent, bool auto_commit)
 {
        if (check_box_)