Skip to content

Commit

Permalink
fix more small cppcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcBoule committed Feb 27, 2024
1 parent d6566a5 commit cb2b4b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ShapeMaster/Channel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,15 @@ class Channel {
void toggleSidechainLowTrig() {
playHead.toggleSidechainLowTrig();
}
void setPresetPath(std::string newPresetPath) {
void setPresetPath(const std::string& newPresetPath) {
presetPath = newPresetPath;
shapePath = "";
}
void setShapePath(std::string newShapePath) {
void setShapePath(const std::string& newShapePath) {
shapePath = newShapePath;
presetPath = "";
}
void setChanName(std::string newChanName) {
void setChanName(const std::string& newChanName) {
chanName = newChanName;
}
void updateChannelActive() {
Expand Down

0 comments on commit cb2b4b3

Please sign in to comment.