[clang-tidy] convert several functions to const &
Found with performance-unnecessary-value-param Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -28,6 +28,6 @@ class Response;
|
||||
* Send the exception to the client.
|
||||
*/
|
||||
void
|
||||
PrintError(Response &r, std::exception_ptr ep);
|
||||
PrintError(Response &r, const std::exception_ptr& ep);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user