Skip to content

Commit

Permalink
Remove unnecessary inline [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Feb 3, 2025
1 parent fd96914 commit 4528635
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions libmei/addons/att.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,8 @@ class Att : public AttConverterBase {
std::string MeasurementsignedToStr(data_MEASUREMENTSIGNED data) const;
data_MEASUREMENTSIGNED StrToMeasurementsigned(const std::string &value, bool logWarning = true) const;

inline std::string MeasurementunsignedToStr(data_MEASUREMENTUNSIGNED data) const
{
return MeasurementsignedToStr(data);
}
inline data_MEASUREMENTUNSIGNED StrToMeasurementunsigned(const std::string &value, bool logWarning = true) const
std::string MeasurementunsignedToStr(data_MEASUREMENTUNSIGNED data) const { return MeasurementsignedToStr(data); }
data_MEASUREMENTUNSIGNED StrToMeasurementunsigned(const std::string &value, bool logWarning = true) const
{
return StrToMeasurementsigned(value, logWarning);
}
Expand Down Expand Up @@ -135,10 +132,10 @@ class Att : public AttConverterBase {
std::string PercentToStr(data_PERCENT data) const;
data_PERCENT StrToPercent(const std::string &value, bool logWarning = true) const;

inline std::string PercentLimitedToStr(data_PERCENT_LIMITED_SIGNED data) const { return PercentToStr(data); }
std::string PercentLimitedToStr(data_PERCENT_LIMITED_SIGNED data) const { return PercentToStr(data); }
data_PERCENT_LIMITED StrToPercentLimited(const std::string &value, bool logWarning = true) const;

inline std::string PercentLimitedSignedToStr(data_PERCENT_LIMITED data) const { return PercentToStr(data); }
std::string PercentLimitedSignedToStr(data_PERCENT_LIMITED data) const { return PercentToStr(data); }
data_PERCENT_LIMITED_SIGNED StrToPercentLimitedSigned(const std::string &value, bool logWarning = true) const;

std::string PitchnameToStr(data_PITCHNAME data) const;
Expand Down

0 comments on commit 4528635

Please sign in to comment.