Skip to content

Commit

Permalink
[Checks] Take parameter by ref
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Apr 7, 2018
1 parent be2ea03 commit 402bbbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolsrc/include/vcpkg/base/checks.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace vcpkg::Checks
// Display an error message to the user and exit the tool.
[[noreturn]] void exit_with_message(const LineInfo& line_info,
const char* error_message_template,
const Arg1 error_message_arg1,
const Arg1& error_message_arg1,
const Args&... error_message_args)
{
exit_with_message(line_info,
Expand All @@ -42,7 +42,7 @@ namespace vcpkg::Checks
void check_exit(const LineInfo& line_info,
Conditional&& expression,
const char* error_message_template,
const Arg1 error_message_arg1,
const Arg1& error_message_arg1,
const Args&... error_message_args)
{
if (!expression)
Expand Down

0 comments on commit 402bbbc

Please sign in to comment.