From: Joel Holdsworth Date: Mon, 17 Aug 2015 01:12:57 +0000 (-0600) Subject: Reduce include bloat by including boost/thread/{locks,shared_mutex}.hpp directly X-Git-Tag: pulseview-0.3.0~90 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e71eb81c946c3524e01eaef9781ccbf170143d0c;p=pulseview.git Reduce include bloat by including boost/thread/{locks,shared_mutex}.hpp directly --- diff --git a/pv/devicemanager.cpp b/pv/devicemanager.cpp index 17a49774..f1f4c542 100644 --- a/pv/devicemanager.cpp +++ b/pv/devicemanager.cpp @@ -41,6 +41,8 @@ using std::bind; using std::dynamic_pointer_cast; using std::list; using std::map; +using std::placeholders::_1; +using std::placeholders::_2; using std::remove_if; using std::runtime_error; using std::shared_ptr; diff --git a/pv/popups/channels.cpp b/pv/popups/channels.cpp index 6c122b1c..3cf2ff40 100644 --- a/pv/popups/channels.cpp +++ b/pv/popups/channels.cpp @@ -20,6 +20,9 @@ #include +#include +#include + #include #include #include diff --git a/pv/session.cpp b/pv/session.cpp index 48235432..0b503e05 100644 --- a/pv/session.cpp +++ b/pv/session.cpp @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include +#include + #ifdef ENABLE_DECODE #include #endif diff --git a/pv/session.hpp b/pv/session.hpp index 3d303da4..689b3f83 100644 --- a/pv/session.hpp +++ b/pv/session.hpp @@ -35,7 +35,7 @@ #define NOGDI #define NORESOURCE #endif -#include +#include #include #include diff --git a/pv/storesession.cpp b/pv/storesession.cpp index 9a30c243..35582b43 100644 --- a/pv/storesession.cpp +++ b/pv/storesession.cpp @@ -20,6 +20,9 @@ #include +#include +#include + #include "storesession.hpp" #include diff --git a/pv/view/decodetrace.cpp b/pv/view/decodetrace.cpp index c0c4d167..f44d8f94 100644 --- a/pv/view/decodetrace.cpp +++ b/pv/view/decodetrace.cpp @@ -29,6 +29,8 @@ extern "C" { #include #include +#include +#include #include #include diff --git a/pv/view/rowitemiterator.hpp b/pv/view/rowitemiterator.hpp index 1b8926ca..10de80a0 100644 --- a/pv/view/rowitemiterator.hpp +++ b/pv/view/rowitemiterator.hpp @@ -34,7 +34,8 @@ #define NOGDI #define NORESOURCE #endif -#include +#include +#include #include diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 4b17a56f..3eb04920 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -32,6 +32,8 @@ #include #include +#include + #include #include #include