Skip to content

Commit 367e9d4

Browse files
committed
Change the declaration of identity as to match others
1 parent 90ad999 commit 367e9d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cpp2util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,8 +1280,8 @@ concept castable = requires{ C{x}; } || (
12801280
// As
12811281
//
12821282

1283-
template< typename C >
1284-
auto as(auto const&) -> auto {
1283+
template< typename C, typename X>
1284+
auto as( X const& ) -> auto {
12851285
return nonesuch;
12861286
}
12871287

0 commit comments

Comments
 (0)