]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/channels.cpp
Reduce include bloat by including boost/thread/{locks,shared_mutex}.hpp directly
[pulseview.git] / pv / popups / channels.cpp
index d4ff6c9797cf6262a89b97df74b2dd65c7de05b3..3cf2ff40ae2591333519367bb03b9cc6e70a3a95 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <map>
 
+#include <boost/thread/locks.hpp>
+#include <boost/thread/shared_mutex.hpp>
+
 #include <QCheckBox>
 #include <QFormLayout>
 #include <QGridLayout>
@@ -200,7 +203,7 @@ QGridLayout* Channels::create_channel_group_grid(
 
                check_box_signal_map_[checkbox] = sig;
 
-               if(++col >= 8)
+               if (++col >= 8)
                        col = 0, row++;
        }