Skip to content

Commit

Permalink
Remove comments from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim committed Nov 21, 2023
1 parent 5898f6a commit c7600db
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/muse/components/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,13 +759,6 @@ QGradient getGradientFromColor(const QColor& c, const QPoint& start, const QPoin
gradient.setColorAt(.5, c);
gradient.setColorAt(1, c.darker(100 + strength/3*2));

// REMOVE Tim. new. Changed.
// /home/tim/Source/muse_20220930_master_add_mute_and_solo_ctrls/src/muse/components/utils.cpp:762:21: error: redundant move in return statement [-Werror=redundant-move]
// 762 | return std::move(gradient);
// | ~~~~~~~~~^~~~~~~~~~
// /home/tim/Source/muse_20220930_master_add_mute_and_solo_ctrls/src/muse/components/utils.cpp:762:21: note: remove ‘std::move’ call
//
// return std::move(gradient);
return gradient;
}

Expand Down

0 comments on commit c7600db

Please sign in to comment.