Skip to content

Commit 162b51c

Browse files
not using references :shurg:
1 parent b2c481b commit 162b51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/include/cpp11/R.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ template <typename T>
4848
inline T na();
4949

5050
template <typename T>
51-
inline bool is_na(const T& value) {
51+
inline bool is_na(T value) {
5252
return value == na<T>();
5353
}
5454

5555
template <>
56-
inline bool is_na<>(const double& x) {
56+
inline bool is_na<>(double x) {
5757
return ISNA(x);
5858
}
5959

0 commit comments

Comments
 (0)