Don't use deprecated headers.

This patch was generated using clang-tidy:

  clang-tidy -checks="-*,modernize-deprecated-headers" -fix

(with some additional manual fixups)
This commit is contained in:
Uwe Hermann 2017-03-20 21:40:29 +01:00
parent f54fc97e8c
commit cafe470ed9
9 changed files with 10 additions and 14 deletions

View File

@ -20,7 +20,7 @@
#ifndef PULSEVIEW_ANDROID_LOGHANDLER_HPP
#define PULSEVIEW_ANDROID_LOGHANDLER_HPP
#include <stdarg.h>
#include <cstdarg>
namespace pv {

View File

@ -20,8 +20,7 @@
#ifndef PULSEVIEW_PV_STORESESSION_HPP
#define PULSEVIEW_PV_STORESESSION_HPP
#include <stdint.h>
#include <cstdint>
#include <atomic>
#include <fstream>
#include <map>

View File

@ -27,8 +27,8 @@
#ifndef PULSEVIEW_PV_STRNATCMP_HPP
#define PULSEVIEW_PV_STRNATCMP_HPP
#include <stddef.h> /* size_t */
#include <ctype.h>
#include <cstddef> /* size_t */
#include <cctype>
#include <string>
using std::string;

View File

@ -20,8 +20,7 @@
#ifndef PULSEVIEW_PV_TOOLBARS_MAINBAR_HPP
#define PULSEVIEW_PV_TOOLBARS_MAINBAR_HPP
#include <stdint.h>
#include <cstdint>
#include <list>
#include <memory>

View File

@ -25,7 +25,7 @@
#include <QComboBox>
#include <QWidgetAction>
#include <stdint.h>
#include <cstdint>
#include "signalscalehandle.hpp"
#include "trace.hpp"

View File

@ -26,7 +26,7 @@
#include <QRect>
#include <QString>
#include <stdint.h>
#include <cstdint>
#include "tracetreeitem.hpp"

View File

@ -20,8 +20,7 @@
#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP
#define PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP
#include <stdint.h>
#include <cstdint>
#include <list>
#include <memory>
#include <set>

View File

@ -21,7 +21,7 @@
#ifndef PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
#define PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
#include <stdint.h>
#include <cstdint>
#include <QAction>
#include <QToolBar>

View File

@ -21,8 +21,7 @@
#ifndef PULSEVIEW_PV_VIEWS_VIEWBASE_HPP
#define PULSEVIEW_PV_VIEWS_VIEWBASE_HPP
#include <stdint.h>
#include <cstdint>
#include <memory>
#include <set>
#include <vector>