]> sigrok.org Git - pulseview.git/blobdiff - pv/data/logicsegment.cpp
Minor whitespace fixes.
[pulseview.git] / pv / data / logicsegment.cpp
index 2df64bb2769955e8182050edf63deb86bfb3e1c9..30e4e67dcecced37fa8267b489c9364363e1223a 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "logicsegment.hpp"
 
-#include <libsigrok/libsigrok.hpp>
+#include <libsigrokcxx/libsigrokcxx.hpp>
 
 using std::lock_guard;
 using std::recursive_mutex;
@@ -306,7 +306,7 @@ void LogicSegment::get_subsampled_edges(
 
                // We cannot fast-forward if there is no mip-map data at
                // at the minimum level.
-               fast_forward = (mip_map_[level].data != NULL);
+               fast_forward = (mip_map_[level].data != nullptr);
 
                if (min_length < MipMapScaleFactor)
                {