Skip to content

Commit

Permalink
Fix non-standard forward declaration of RtcMode
Browse files Browse the repository at this point in the history
  • Loading branch information
Koromix committed Nov 3, 2021
1 parent b1875b7 commit c8ec15b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tycommander/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct BoardInterfaceInfo {
bool open;
};

enum RtcMode {
enum RtcMode : int {
RTC_LOCALTIME,
RTC_UTC,
RTC_IGNORE
Expand Down
2 changes: 1 addition & 1 deletion src/tycommander/main_window.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AboutDialog;
class ArduinoDialog;
class Board;
class Monitor;
enum RtcMode;
enum RtcMode : int;

class MainWindow : public QMainWindow, private Ui::MainWindow {
Q_OBJECT
Expand Down

0 comments on commit c8ec15b

Please sign in to comment.