]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/enum.cpp
Consistenty use auto-generated namespace comments.
[pulseview.git] / pv / prop / enum.cpp
index 06e4d76f1098e5f6967b57eeee81ba591d72de45..7a4a7837ff0e319cd8cd23535321386311f0283d 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 <QComboBox>
 
@@ -39,10 +38,6 @@ Enum::Enum(QString name,
 {
 }
 
-Enum::~Enum()
-{
-}
-
 QWidget* Enum::get_widget(QWidget *parent, bool auto_commit)
 {
        if (selector_)
@@ -89,5 +84,5 @@ void Enum::on_current_item_changed(int)
        commit();
 }
 
-} // prop
-} // pv
+}  // namespace prop
+}  // namespace pv