From cd4e709ead8a3e97eee0ef7b362240986e18fbd5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 May 2015 15:43:41 +0200 Subject: Get rid of gcc, clang warnings (-Wall) --- build/bin/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/bin') diff --git a/build/bin/rule.cxx b/build/bin/rule.cxx index 172e5d8..06fe72e 100644 --- a/build/bin/rule.cxx +++ b/build/bin/rule.cxx @@ -63,7 +63,7 @@ namespace build { if (t.a == nullptr) t.a = &static_cast (search (prerequisite_key { - &liba::static_type, &t.dir, &t.name, &t.ext, nullptr})); + {&liba::static_type, &t.dir, &t.name, &t.ext}, nullptr})); build::match (a, *t.a); } @@ -72,7 +72,7 @@ namespace build { if (t.so == nullptr) t.so = &static_cast (search (prerequisite_key { - &libso::static_type, &t.dir, &t.name, &t.ext, nullptr})); + {&libso::static_type, &t.dir, &t.name, &t.ext}, nullptr})); build::match (a, *t.so); } -- cgit v1.1