Consistenty use auto-generated namespace comments.
[pulseview.git] / pv / widgets / decodergroupbox.cpp
index 5827e28ce29f615f330c51bd4b6b12785f326785..26805c87112485f7092ff77ccad3aa1b27a5c238 100644 (file)
@@ -24,7 +24,7 @@
 #include <QPushButton>
 #include <QVBoxLayout>
 
-#include <assert.h>
+#include <cassert>
 
 namespace pv {
 namespace widgets {
@@ -37,8 +37,7 @@ DecoderGroupBox::DecoderGroupBox(QString title, QWidget *parent, bool isDeletabl
        layout_->setContentsMargins(0, 0, 0, 0);
        setLayout(layout_);
 
-       layout_->addWidget(new QLabel(QString("<h3>%1</h3>").arg(title)),
-               0, 0);
+       layout_->addWidget(new QLabel(QString("<h3>%1</h3>").arg(title)), 0, 0);
        layout_->setColumnStretch(0, 1);
 
        QHBoxLayout *const toolbar = new QHBoxLayout;
@@ -74,5 +73,5 @@ void DecoderGroupBox::set_decoder_visible(bool visible)
                ":/icons/decoder-hidden.svg"));
 }
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv