Skip to content

Commit

Permalink
update some linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
phlptp committed Jan 3, 2025
1 parent 749eab9 commit ccb66ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/cppcheck_suppressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ unusedFunction:units/x12_conv.cpp:1009
passedByValue:units/units.cpp:224
passedByValue:units/units.cpp:1160
passedByValue:units/units.cpp:1177
passedByValue:units/units.cpp:3066
passedByValue:units/units.cpp:3067
passedByValue:units/units.hpp:413
passedByValue:units/units.hpp:583
passedByValue:units/units.hpp:1013
Expand Down
2 changes: 1 addition & 1 deletion units/commodity_conversion_maps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,5 +470,5 @@ namespace commodities {
{"961", generateCurrencyCode("XAG")},
};

}
} // namespace commodities
} // namespace UNITS_NAMESPACE
4 changes: 2 additions & 2 deletions units/units_conversion_maps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3204,7 +3204,7 @@ std::array<std::pair<const char*, precise_unit>, 233>
{1.0, precise::currency, commodities::generateCurrencyCode("TZS")}},
{"Baht",
{1.0, precise::currency, commodities::generateCurrencyCode("THB")}},
{"Pa’anga",
{"Pa'anga",
{1.0, precise::currency, commodities::generateCurrencyCode("TOP")}},
{"TrinidadandTobagoDollar",
{1.0, precise::currency, commodities::generateCurrencyCode("TTD")}},
Expand Down Expand Up @@ -3232,7 +3232,7 @@ std::array<std::pair<const char*, precise_unit>, 233>
{1.0, precise::currency, commodities::generateCurrencyCode("UZS")}},
{"Vatu",
{1.0, precise::currency, commodities::generateCurrencyCode("VUV")}},
{"BolívarSoberano",
{"BolivarSoberano",
{1.0, precise::currency, commodities::generateCurrencyCode("VES")}},
{"Dong",
{1.0, precise::currency, commodities::generateCurrencyCode("VND")}},
Expand Down

0 comments on commit ccb66ba

Please sign in to comment.