From cafe470ed977ab3bff1a865439a261c9f0eb397d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 20 Mar 2017 21:40:29 +0100 Subject: [PATCH] Don't use deprecated headers. This patch was generated using clang-tidy: clang-tidy -checks="-*,modernize-deprecated-headers" -fix (with some additional manual fixups) --- android/loghandler.hpp | 2 +- pv/storesession.hpp | 3 +-- pv/strnatcmp.hpp | 4 ++-- pv/toolbars/mainbar.hpp | 3 +-- pv/view/signal.hpp | 2 +- pv/view/trace.hpp | 2 +- pv/view/view.hpp | 3 +-- pv/views/trace/standardbar.hpp | 2 +- pv/views/viewbase.hpp | 3 +-- 9 files changed, 10 insertions(+), 14 deletions(-) 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 -- 2.30.2