From: Uwe Hermann Date: Mon, 20 Mar 2017 20:40:29 +0000 (+0100) Subject: Don't use deprecated headers. X-Git-Tag: pulseview-0.4.0~126 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cafe470ed977ab3bff1a865439a261c9f0eb397d;p=pulseview.git Don't use deprecated headers. This patch was generated using clang-tidy: clang-tidy -checks="-*,modernize-deprecated-headers" -fix (with some additional manual fixups) --- diff --git a/android/loghandler.hpp b/android/loghandler.hpp index b12a36e1..dba7c3c3 100644 --- a/android/loghandler.hpp +++ b/android/loghandler.hpp @@ -20,7 +20,7 @@ #ifndef PULSEVIEW_ANDROID_LOGHANDLER_HPP #define PULSEVIEW_ANDROID_LOGHANDLER_HPP -#include +#include namespace pv { diff --git a/pv/storesession.hpp b/pv/storesession.hpp index 64913a74..941ef327 100644 --- a/pv/storesession.hpp +++ b/pv/storesession.hpp @@ -20,8 +20,7 @@ #ifndef PULSEVIEW_PV_STORESESSION_HPP #define PULSEVIEW_PV_STORESESSION_HPP -#include - +#include #include #include #include diff --git a/pv/strnatcmp.hpp b/pv/strnatcmp.hpp index 6c7754cc..0295a5c5 100644 --- a/pv/strnatcmp.hpp +++ b/pv/strnatcmp.hpp @@ -27,8 +27,8 @@ #ifndef PULSEVIEW_PV_STRNATCMP_HPP #define PULSEVIEW_PV_STRNATCMP_HPP -#include /* size_t */ -#include +#include /* size_t */ +#include #include using std::string; diff --git a/pv/toolbars/mainbar.hpp b/pv/toolbars/mainbar.hpp index 0e58fbae..fd4d94b8 100644 --- a/pv/toolbars/mainbar.hpp +++ b/pv/toolbars/mainbar.hpp @@ -20,8 +20,7 @@ #ifndef PULSEVIEW_PV_TOOLBARS_MAINBAR_HPP #define PULSEVIEW_PV_TOOLBARS_MAINBAR_HPP -#include - +#include #include #include diff --git a/pv/view/signal.hpp b/pv/view/signal.hpp index 82d3b51f..2bb8da1b 100644 --- a/pv/view/signal.hpp +++ b/pv/view/signal.hpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include "signalscalehandle.hpp" #include "trace.hpp" diff --git a/pv/view/trace.hpp b/pv/view/trace.hpp index ac4540c9..62588a16 100644 --- a/pv/view/trace.hpp +++ b/pv/view/trace.hpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include "tracetreeitem.hpp" diff --git a/pv/view/view.hpp b/pv/view/view.hpp index f1e40399..aebc2540 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -20,8 +20,7 @@ #ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP #define PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP -#include - +#include #include #include #include diff --git a/pv/views/trace/standardbar.hpp b/pv/views/trace/standardbar.hpp index 0c9cad80..f96d8bfe 100644 --- a/pv/views/trace/standardbar.hpp +++ b/pv/views/trace/standardbar.hpp @@ -21,7 +21,7 @@ #ifndef PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP #define PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP -#include +#include #include #include diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index c4ac059d..95f3ff75 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -21,8 +21,7 @@ #ifndef PULSEVIEW_PV_VIEWS_VIEWBASE_HPP #define PULSEVIEW_PV_VIEWS_VIEWBASE_HPP -#include - +#include #include #include #include