Skip to content

Commit

Permalink
fix clang-tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kuron99 committed Oct 10, 2023
1 parent 027db4a commit 65dba57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ any to_int8(takatori::decimal::triple src, evaluator_context& ctx) {
return validate_integer_range<std::int64_t, std::int64_t>(rounded.i64(), ctx);
}

any decimal_to_float4(decimal::Decimal d, evaluator_context& ctx) {
any decimal_to_float4(decimal::Decimal const& d, evaluator_context& ctx) {
(void) ctx;
float value{};
try {
Expand All @@ -205,7 +205,7 @@ any to_float4(takatori::decimal::triple src, evaluator_context& ctx) {
return decimal_to_float4(value, ctx);
}

any decimal_to_float8(decimal::Decimal d, evaluator_context& ctx) {
any decimal_to_float8(decimal::Decimal const& d, evaluator_context& ctx) {
(void) ctx;
double value{};
try {
Expand Down

0 comments on commit 65dba57

Please sign in to comment.