From c4a9db2f981a03aecf5e9a60e6d27a6dc6dac159 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 13 May 2017 00:29:50 +0300 Subject: Fix VC15 warnings (/W3) --- tests/target-triplet/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/target-triplet') diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx index 8691bac..b446a6f 100644 --- a/tests/target-triplet/driver.cxx +++ b/tests/target-triplet/driver.cxx @@ -152,7 +152,7 @@ fail (const char* s) cerr << "nofail: " << s << endl; return false; } - catch (invalid_argument& e) + catch (const invalid_argument&) { //cerr << e << endl; } -- cgit v1.1