Skip to content

Commit 79880c6

Browse files
committed
[cppyy] Partially revert d35e114: add constref to pointer signature
1 parent 5d362c7 commit 79880c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bindings/pyroot/cppyy/cppyy/test/templates.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ struct Test {};
528528
using testptr = Test *;
529529

530530
template <typename T>
531-
bool testfun(T x)
531+
bool testfun(T const &x)
532532
{
533533
return !(bool)x;
534534
}

0 commit comments

Comments
 (0)