]> sigrok.org Git - pulseview.git/blobdiff - pv/storesession.cpp
Consistenty use auto-generated namespace comments.
[pulseview.git] / pv / storesession.cpp
index 8916cb8cd154e078837cef5174813e8e4bd38d1c..a5850060ec284e02c6ec1c4d0f2673c612d67b32 100644 (file)
@@ -226,7 +226,7 @@ void StoreSession::store_proc(vector< shared_ptr<data::SignalBase> > achannel_li
        // Qt needs the progress values to fit inside an int. If they would
        // not, scale the current and max values down until they do.
        while ((sample_count_ >> progress_scale) > INT_MAX)
-               progress_scale ++;
+               progress_scale++;
 
        unit_count_ = sample_count_ >> progress_scale;
 
@@ -295,4 +295,4 @@ void StoreSession::store_proc(vector< shared_ptr<data::SignalBase> > achannel_li
        output_stream_.close();
 }
 
-} // pv
+}  // namespace pv