From ab2853475f9a03fa01a05548bd49fe884ece61a5 Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 16 Sep 2019 18:09:44 +0200 Subject: [PATCH] Reorder includes (local to system) Include local include first so that dependencies on external includes are less likely overlooked --- mainwindow.cpp | 10 +++++----- osciwidget.cpp | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 680b789..afc8970 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,8 +1,9 @@ #include "mainwindow.h" #include "ui_mainwindow.h" -// system includes -#include +// local includes +#include "audiodevice.h" +#include "debugtonegenerator.h" // Qt includes #include @@ -11,9 +12,8 @@ #include #include -// local includes -#include "audiodevice.h" -#include "debugtonegenerator.h" +// system includes +#include namespace { constexpr int samplerates[] = { 44100, 48000, 96000, 192000 }; diff --git a/osciwidget.cpp b/osciwidget.cpp index b55ece1..2b8d675 100644 --- a/osciwidget.cpp +++ b/osciwidget.cpp @@ -1,14 +1,14 @@ #include "osciwidget.h" -// system includes -#include - // Qt includes #include #include #include #include +// system includes +#include + OsciWidget::OsciWidget(QWidget *parent) : QOpenGLWidget{parent}, m_redrawTimerId(startTimer(1000/m_fps))