Skip to content

Commit

Permalink
Prune redundant inline statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored May 4, 2020
1 parent 11714a3 commit 81da07b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/point.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct point {
}

#ifndef CATA_NO_STL
inline point abs() const {
point abs() const {
return point( std::abs( x ), std::abs( y ) );
}
#endif
Expand Down Expand Up @@ -185,7 +185,7 @@ struct tripoint {
}

#ifndef CATA_NO_STL
inline tripoint abs() const {
tripoint abs() const {
return tripoint( std::abs( x ), std::abs( y ), std::abs( z ) );
}
#endif
Expand Down

0 comments on commit 81da07b

Please sign in to comment.