Consistenty use auto-generated namespace comments.
[pulseview.git] / pv / prop / double.cpp
index c5ab1db4e28b5a83b98f33f030fc0124b4bef727..2e7f1d542038eb959739ea0d8d06a6a28e116513 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_)
@@ -97,5 +92,5 @@ void Double::on_value_changed(double)
        commit();
 }
 
-} // prop
-} // pv
+}  // namespace prop
+}  // namespace pv