Skip to content

Commit 0b3655d

Browse files
committed
Do not use explicit for the conversion
Fixes a failure to build the vignette
1 parent b0342ab commit 0b3655d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/cpp11/r_bool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class r_bool {
2828
r_bool(Rboolean value) : value_(value) {}
2929
r_bool(int value) : value_(from_int(value)) {}
3030

31-
explicit operator bool() const { return value_ == TRUE; }
31+
operator bool() const { return value_ == TRUE; }
3232
operator int() const { return value_; }
3333
operator Rboolean() const { return value_; }
3434

0 commit comments

Comments
 (0)