]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/popuptoolbutton.cpp
AnalogSignal: Use setting change handler for threshold display
[pulseview.git] / pv / widgets / popuptoolbutton.cpp
index eb33c383accce52af1ea8118535106b19a3cb4f7..3fc2eb20aa9be8e15c6f267a5aed8ebb6769c0bb 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <assert.h>
+#include <cassert>
 
 #include "popuptoolbutton.hpp"
 
@@ -53,5 +53,5 @@ void PopupToolButton::on_clicked(bool)
        popup_->show();
 }
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv