Skip to content

Commit

Permalink
Add [[nodiscard]]
Browse files Browse the repository at this point in the history
  • Loading branch information
xorz57 committed Mar 2, 2024
1 parent 8c32bf4 commit d1a4675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ private slots:
void zoomOut();

private:
QString encode(const QString &input) const;
QString decode(const QString &input) const;
[[nodiscard]] QString encode(const QString &input) const;
[[nodiscard]] QString decode(const QString &input) const;

const QMap<QChar, QString> lookUpTable1 {
{ 'A', ".-" },
Expand Down

0 comments on commit d1a4675

Please sign in to comment.