Skip to content

Commit

Permalink
Replace some more c headers with c++ headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 24, 2017
1 parent 76a2272 commit eaf861c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/dwg/libdxfrw/drw_header.cpp
Expand Up @@ -19,7 +19,7 @@
#include "qgslogger.h"
#include <QStringList>

#include <assert.h>
#include <cassert>

DRW_Header::DRW_Header()
: curr( nullptr )
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsattributetabledialog.h
Expand Up @@ -21,7 +21,7 @@
#include <QModelIndex>
#include <QItemSelectionModel>

#include <time.h>
#include <ctime>

#include "ui_qgsattributetabledialog.h"
#include "qgssearchwidgetwrapper.h"
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgis.h
Expand Up @@ -28,7 +28,7 @@
#include <QDate>
#include <QTime>
#include <QHash>
#include <stdlib.h>
#include <cstdlib>
#include <cfloat>
#include <cmath>
#include <qnumeric.h>
Expand Down
4 changes: 2 additions & 2 deletions src/providers/virtual/qgsvirtuallayersqlitemodule.cpp
Expand Up @@ -16,7 +16,7 @@ email : hugo dot mercier at oslandia dot com

#include <string.h>
#include <iostream>
#include <stdint.h>
#include <cstdint>
#include <stdexcept>

#include <QCoreApplication>
Expand All @@ -31,7 +31,7 @@ email : hugo dot mercier at oslandia dot com
#include "qgsinterval.h"
#include <sqlite3.h>
#include <spatialite.h>
#include <stdio.h>
#include <cstdio>
#include "qgsvirtuallayersqlitemodule.h"
#include "qgsvirtuallayerblob.h"
#include "qgsslottofunction.h"
Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsmslayercache.h
Expand Up @@ -21,7 +21,7 @@
#define SIP_NO_FILE


#include <time.h>
#include <ctime>
#include <QFileSystemWatcher>
#include <QMultiHash>
#include <QObject>
Expand Down

0 comments on commit eaf861c

Please sign in to comment.