Fix append() so that the parameter can be an lvalue String& or Path&.
A parameter type of `String` takes precedence over `StringPtr` when matching a parameter of type `String&` (i.e. an lvalue), but then doesn't work since `String` has no copy constructor. Matching `String&&` instead avoids this problem.
Showing
Please
register
or
sign in
to comment