X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fstoresession.cpp;h=db766179e61f0c5b2d267221c809db8c2bb724c5;hb=aca9aa834c742ba70f49d1ac3eb2d1e02e759416;hp=3c5d899f2ce71a410a5e8845dbecbb703d2389e1;hpb=472a80c58cfdbd37cb00b5ba2ef4bcd923f9b54b;p=pulseview.git diff --git a/pv/storesession.cpp b/pv/storesession.cpp index 3c5d899..db76617 100644 --- a/pv/storesession.cpp +++ b/pv/storesession.cpp @@ -24,27 +24,21 @@ #define NOGDI #define NORESOURCE #endif -#include -#include #include "storesession.hpp" -#include -#include #include #include #include #include #include +#include #include +#include #include -using boost::shared_lock; -using boost::shared_mutex; - using std::deque; -using std::dynamic_pointer_cast; using std::ios_base; using std::lock_guard; using std::make_pair; @@ -52,7 +46,6 @@ using std::map; using std::min; using std::mutex; using std::pair; -using std::set; using std::shared_ptr; using std::string; using std::unordered_set; @@ -233,7 +226,7 @@ void StoreSession::store_proc(vector< shared_ptr > 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; @@ -302,4 +295,4 @@ void StoreSession::store_proc(vector< shared_ptr > achannel_li output_stream_.close(); } -} // pv +} // namespace pv