Skip to content

Commit

Permalink
Merge pull request #11937 from Swiftb0y/refactor/cleanup-timer-headers
Browse files Browse the repository at this point in the history
refactor(util/timer): cleanup includes
  • Loading branch information
JoergAtGithub authored Sep 8, 2023
2 parents 51ba570 + dea19a3 commit f4692aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/util/battery/battery.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "util/timer.h"
#include <QObject>
#include <QTimer>

class Battery : public QObject {
Q_OBJECT
Expand Down
1 change: 1 addition & 0 deletions src/util/battery/batterylinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <QtDebug>

#include "moc_batterylinux.cpp"
#include "util/assert.h"

BatteryLinux::BatteryLinux(QObject* pParent)
: Battery(pParent),
Expand Down
3 changes: 0 additions & 3 deletions src/util/timer.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#include "util/timer.h"

#include "moc_timer.cpp"
#include "util/experiment.h"
#include "util/time.h"
#include "waveform/guitick.h"

Timer::Timer(QString key, Stat::ComputeFlags compute)
: m_key(std::move(key)),
Expand Down
4 changes: 1 addition & 3 deletions src/util/timer.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#pragma once

#include <QObject>
#include <QString>
#include <QStringView>
#include <optional>

#include "control/controlproxy.h"
#include "util/cmdlineargs.h"
#include "util/duration.h"
#include "util/parented_ptr.h"
#include "util/performancetimer.h"
#include "util/stat.h"

Expand Down

0 comments on commit f4692aa

Please sign in to comment.